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
This commit is contained in:
Alex Rosenberg 2013-01-05 00:21:12 +00:00
parent 4cff412ecc
commit 319120f622

View 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);
}