Fixup opEquals method signature to match D specification
This commit is contained in:
parent
884b31fa9f
commit
7e46fb6401
|
@ -46,7 +46,7 @@ struct ObjectPath {
|
||||||
return hashOf(_value);
|
return hashOf(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool opEquals(const ObjectPath b) const {
|
bool opEquals(ref const typeof(this) b) const pure nothrow @safe {
|
||||||
return _value == b._value;
|
return _value == b._value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue