Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joe Groff 2013-01-14 19:37:42 +00:00
parent a662a98625
commit 289148afcb

View File

@ -159,7 +159,7 @@ public:
return std::make_pair(iterator(TheBucket, getBucketsEnd(), true), true);
}
#ifdef LLVM_HAS_RVALUE_REFERENCES
#if LLVM_HAS_RVALUE_REFERENCES
// Inserts key,value pair into the map if the key isn't already in the map.
// If the key is already in the map, it returns false and doesn't update the
// value.