Ensure that HashMap with POD types is nothrow.
This commit is contained in:
parent
cc66180ad8
commit
f8c25adf02
|
@ -250,7 +250,7 @@ struct HashMap(TKey, TValue, Traits = DefaultHashMapTraits!TKey)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unittest {
|
nothrow unittest {
|
||||||
import std.conv;
|
import std.conv;
|
||||||
|
|
||||||
HashMap!(string, string) map;
|
HashMap!(string, string) map;
|
||||||
|
|
Loading…
Reference in a new issue