From fc0dc613ce6d849e4407f6fdc478c75d03cfbedc Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 14 Jan 2013 19:37:42 +0000 Subject: [PATCH] Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0. llvm-svn: 172454 --- include/llvm/ADT/DenseMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 04912c703ca..12cba08a61e 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -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.