1
0
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:
Frits van Bommel 2010-11-20 18:37:24 +00:00
parent e88ba0f100
commit da0d866809

View File

@ -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();
} }