Fixup opEquals method signature to match D specification

This commit is contained in:
Harry T. Vennik 2017-06-25 17:01:59 +02:00
parent 884b31fa9f
commit 7e46fb6401

View file

@ -46,7 +46,7 @@ struct ObjectPath {
return hashOf(_value);
}
bool opEquals(const ObjectPath b) const {
bool opEquals(ref const typeof(this) b) const pure nothrow @safe {
return _value == b._value;
}