Skip to content

Commit

Permalink
fix deprecated usage of opIn_r
Browse files Browse the repository at this point in the history
  • Loading branch information
Herringway committed Aug 17, 2019
1 parent ef1a5d1 commit 77a5267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/idstore/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ struct IDStore {
final void remove(T)(T range) if (isInputRange!T) {
db.deleteID(name, range);
}
final bool opIn_r(string[] ids...) {
final bool opBinaryRight(string op : "in")(string[] ids...) {
return db.inDB(name, ids);
}
final bool opIn_r(T)(T range) if (isInputRange!T) {
final bool opBinaryRight(string op :"in", T)(T range) if (isInputRange!T) {
return db.inDB(name, range);
}
alias canFind = opIn_r;
Expand Down

0 comments on commit 77a5267

Please sign in to comment.