We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5309f51 commit 78c2790Copy full SHA for 78c2790
1 file changed
source/mir/string_map.d
@@ -1074,7 +1074,7 @@ struct StringMap(T)
1074
import std.traits: isAssociativeArray, isAggregateType;
1075
// static if (!isAssociativeArray!(.basicElementType!T) && (!isAggregateType!(.basicElementType!T) || __traits(hasMember, .basicElementType!T, "opCmp")))
1076
/// `opCmp` Implementation. Doesn't depend on order
1077
- int opCmp()(ref scope const typeof(this) rhs) scope const @trusted // pure nothrow @nogc
+ int opCmp()(scope const typeof(this) rhs) scope const @trusted // pure nothrow @nogc
1078
{
1079
if (sizediff_t d = length - rhs.length)
1080
return d < 0 ? -1 : 1;
0 commit comments