From: Alex Rosenberg Date: Sat, 5 Jan 2013 00:21:12 +0000 (+0000) Subject: Fix warnings from llvm-gcc as seen on darwin10 (10.6). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=319120f6229dcf37f288be2719bc095a2f454d55;p=oota-llvm.git Fix warnings from llvm-gcc as seen on darwin10 (10.6). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171567 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 31e685f96f4..8607fb7e9cc 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -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); }