From c853fd1db5ed2c9d7ddeaa004b4ea79c8d04293d Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 3 Mar 2015 21:44:06 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231141 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/CFG.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/IR/CFG.h b/include/llvm/IR/CFG.h index 84764317633..56c650323e3 100644 --- a/include/llvm/IR/CFG.h +++ b/include/llvm/IR/CFG.h @@ -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; -- 2.34.1