forked from OSchip/llvm-project
CFG::SuccessorIterator::SuccessorProxy:: Expliictly default copy construction as it is deprecated in C++11 in the presence of explicit copy assignment.
See r231099 for similar issues & details in [Small]BitVector. llvm-svn: 231141
This commit is contained in:
parent
029c5c7fdb
commit
93f605c228
llvm/include/llvm/IR
|
@ -136,6 +136,8 @@ private:
|
|||
public:
|
||||
explicit SuccessorProxy(const Self &it) : it(it) {}
|
||||
|
||||
SuccessorProxy(const SuccessorProxy&) = default;
|
||||
|
||||
SuccessorProxy &operator=(SuccessorProxy r) {
|
||||
*this = reference(r);
|
||||
return *this;
|
||||
|
|
Loading…
Reference in New Issue