aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Groff <arcata@gmail.com>2013-01-14 19:37:42 +0000
committerJoe Groff <arcata@gmail.com>2013-01-14 19:37:42 +0000
commite14fb33a05fcb3123fab1dda3ae2808b154fe25c (patch)
tree2bfe4644fa928fe523066f41beffbe2d456d1ec8
parentd3fc142fdd15c697770941833b6476c353237832 (diff)
downloadllvm-e14fb33a05fcb3123fab1dda3ae2808b154fe25c.zip
llvm-e14fb33a05fcb3123fab1dda3ae2808b154fe25c.tar.gz
llvm-e14fb33a05fcb3123fab1dda3ae2808b154fe25c.tar.bz2
Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0.
llvm-svn: 172454
-rw-r--r--llvm/include/llvm/ADT/DenseMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/DenseMap.h b/llvm/include/llvm/ADT/DenseMap.h
index 04912c7..12cba08 100644
--- a/llvm/include/llvm/ADT/DenseMap.h
+++ b/llvm/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.