mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 05:32:22 +00:00
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:
parent
4cff412ecc
commit
319120f622
@ -531,13 +531,13 @@ public:
|
|||||||
init(NumInitBuckets);
|
init(NumInitBuckets);
|
||||||
}
|
}
|
||||||
|
|
||||||
DenseMap(const DenseMap &other) {
|
DenseMap(const DenseMap &other) : BaseT() {
|
||||||
init(0);
|
init(0);
|
||||||
copyFrom(other);
|
copyFrom(other);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if LLVM_HAS_RVALUE_REFERENCES
|
#if LLVM_HAS_RVALUE_REFERENCES
|
||||||
DenseMap(DenseMap &&other) {
|
DenseMap(DenseMap &&other) : BaseT() {
|
||||||
init(0);
|
init(0);
|
||||||
swap(other);
|
swap(other);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user