diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-03-03 19:20:13 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-03-03 19:20:13 +0000 |
| commit | 9107a1bc279af2f25eed7fabe1aefadc42eb889f (patch) | |
| tree | c97b3a8671c2b4e64267cc89be82d131f7f34268 /llvm | |
| parent | d9c054d0011f87811638d09f26e5711ee709f050 (diff) | |
| download | bcm5719-llvm-9107a1bc279af2f25eed7fabe1aefadc42eb889f.tar.gz bcm5719-llvm-9107a1bc279af2f25eed7fabe1aefadc42eb889f.zip | |
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
llvm-svn: 231102
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Object/ELF.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/Object/ELF.h b/llvm/include/llvm/Object/ELF.h index 7c10bbf6e5a..8a5105f5a4b 100644 --- a/llvm/include/llvm/Object/ELF.h +++ b/llvm/include/llvm/Object/ELF.h @@ -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!"); |

