From: David Blaikie Date: Tue, 3 Mar 2015 19:29:14 +0000 (+0000) Subject: Remove explicit copy ctor in favor of the implicit one so that the use of the copy... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dddc3986e343c52b0d5ed2e1ec5a149e32ff6ebd;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/MachineRegisterInfo.h b/include/llvm/CodeGen/MachineRegisterInfo.h index abb04deb35e..855b255a5ec 100644 --- a/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/include/llvm/CodeGen/MachineRegisterInfo.h @@ -829,7 +829,6 @@ public: typedef std::iterator::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::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 {