mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Test commit: Fix two -Asserts mode warnings in StringMap.h.
llvm-svn: 119907
This commit is contained in:
parent
e88ba0f100
commit
da0d866809
@ -265,10 +265,12 @@ public:
|
|||||||
: StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {
|
: StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {
|
||||||
assert(RHS.empty() &&
|
assert(RHS.empty() &&
|
||||||
"Copy ctor from non-empty stringmap not implemented yet!");
|
"Copy ctor from non-empty stringmap not implemented yet!");
|
||||||
|
(void)RHS;
|
||||||
}
|
}
|
||||||
void operator=(const StringMap &RHS) {
|
void operator=(const StringMap &RHS) {
|
||||||
assert(RHS.empty() &&
|
assert(RHS.empty() &&
|
||||||
"assignment from non-empty stringmap not implemented yet!");
|
"assignment from non-empty stringmap not implemented yet!");
|
||||||
|
(void)RHS;
|
||||||
clear();
|
clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user