Skip to content

Commit 5309f51

Browse files
committed
try workaround compiler bug
1 parent a483d6a commit 5309f51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/mir/string_map.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ struct StringMap(T)
10721072
}
10731073

10741074
import std.traits: isAssociativeArray, isAggregateType;
1075-
static if (!isAssociativeArray!(.basicElementType!T) && (!isAggregateType!(.basicElementType!T) || __traits(hasMember, .basicElementType!T, "opCmp")))
1075+
// static if (!isAssociativeArray!(.basicElementType!T) && (!isAggregateType!(.basicElementType!T) || __traits(hasMember, .basicElementType!T, "opCmp")))
10761076
/// `opCmp` Implementation. Doesn't depend on order
10771077
int opCmp()(ref scope const typeof(this) rhs) scope const @trusted // pure nothrow @nogc
10781078
{

0 commit comments

Comments
 (0)