mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 15:30:56 +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);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user