mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-14 00:31:06 +00:00
Remove some explicit copy assignment operators is favor of implicit ones, as their presence makes the use of the implicit copy ctor deprecated in C++11
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a6c6e914a
commit
f7699e85c0
@ -100,12 +100,6 @@ public:
|
||||
return Tmp;
|
||||
}
|
||||
|
||||
ELFEntityIterator &operator =(const ELFEntityIterator &Other) {
|
||||
EntitySize = Other.EntitySize;
|
||||
Current = Other.Current;
|
||||
return *this;
|
||||
}
|
||||
|
||||
difference_type operator -(const ELFEntityIterator &Other) const {
|
||||
assert(EntitySize == Other.EntitySize &&
|
||||
"Subtracting iterators of different EntitySize!");
|
||||
@ -203,12 +197,6 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
Elf_Sym_Iter &operator=(const Elf_Sym_Iter &Other) {
|
||||
EntitySize = Other.EntitySize;
|
||||
Current = Other.Current;
|
||||
return *this;
|
||||
}
|
||||
|
||||
difference_type operator-(const Elf_Sym_Iter &Other) const {
|
||||
assert(EntitySize == Other.EntitySize &&
|
||||
"Subtracting iterators of different EntitySize!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user