diff --git a/source/ddbus/thin.d b/source/ddbus/thin.d index ed64073..944f3df 100644 --- a/source/ddbus/thin.d +++ b/source/ddbus/thin.d @@ -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; }