Skip to content

Commit

Permalink
Revert opEquals for Cursor struct (not for ref)
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Jun 23, 2024
1 parent bb06369 commit 37e6852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/clang/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ struct Cursor {
return cast(bool) clang_equalCursors(cx, other.cx);
}

bool opEquals(in ref Cursor other) @safe @nogc pure nothrow const {
bool opEquals(in Cursor other) @safe nothrow const {
return cast(bool) clang_equalCursors(cx, other.cx);
}

Expand Down

0 comments on commit 37e6852

Please sign in to comment.