diff --git a/src/core/time.d b/src/core/time.d index 4967014580e..a8b849311dc 100644 --- a/src/core/time.d +++ b/src/core/time.d @@ -1681,6 +1681,12 @@ struct TickDuration /++ operator overloading "==" +/ + bool opEquals(const TickDuration rhs) @safe const pure nothrow + { + return opEquals(rhs); + } + + /// ditto bool opEquals(ref const TickDuration rhs) @safe const pure nothrow { return length == rhs.length;