forked from OSchip/llvm-project
Remove explicit copy ctor in favor of the implicit one so that the use of the copy assignment operator is not deprecated.
llvm-svn: 231110
This commit is contained in:
parent
3bf8b304fc
commit
af16cda10d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue