Fix warnings from llvm-gcc as seen on darwin10 (10.6).
authorAlex Rosenberg <alexr@leftfield.org>
Sat, 5 Jan 2013 00:21:12 +0000 (00:21 +0000)
committerAlex Rosenberg <alexr@leftfield.org>
Sat, 5 Jan 2013 00:21:12 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171567 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/DenseMap.h

index 31e685f96f4f628d1643576fa9f94727ccc0bcaa..8607fb7e9ccb754c14bac7caa3ce8ab4fdff6af7 100644 (file)
@@ -531,13 +531,13 @@ public:
     init(NumInitBuckets);
   }
 
-  DenseMap(const DenseMap &other) {
+  DenseMap(const DenseMap &other) : BaseT() {
     init(0);
     copyFrom(other);
   }
 
 #if LLVM_HAS_RVALUE_REFERENCES
-  DenseMap(DenseMap &&other) {
+  DenseMap(DenseMap &&other) : BaseT() {
     init(0);
     swap(other);
   }