mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove explicit copy ctor in favor of the implicit one so that the use of the copy assignment operator is not deprecated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231110 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -829,7 +829,6 @@ public:
|
||||
typedef std::iterator<std::forward_iterator_tag,
|
||||
MachineInstr, ptrdiff_t>::pointer pointer;
|
||||
|
||||
defusechain_iterator(const defusechain_iterator &I) : Op(I.Op) {}
|
||||
defusechain_iterator() : Op(nullptr) {}
|
||||
|
||||
bool operator==(const defusechain_iterator &x) const {
|
||||
@@ -932,7 +931,6 @@ public:
|
||||
typedef std::iterator<std::forward_iterator_tag,
|
||||
MachineInstr, ptrdiff_t>::pointer pointer;
|
||||
|
||||
defusechain_instr_iterator(const defusechain_instr_iterator &I) : Op(I.Op){}
|
||||
defusechain_instr_iterator() : Op(nullptr) {}
|
||||
|
||||
bool operator==(const defusechain_instr_iterator &x) const {
|
||||
|
Reference in New Issue
Block a user