diff --git a/include/llvm/Analysis/LazyCallGraph.h b/include/llvm/Analysis/LazyCallGraph.h index 10a9a91a6e6..6b93bb26a89 100644 --- a/include/llvm/Analysis/LazyCallGraph.h +++ b/include/llvm/Analysis/LazyCallGraph.h @@ -132,7 +132,7 @@ public: public: iterator(const iterator &Arg) : G(Arg.G), NI(Arg.NI) {} - + iterator(iterator &&Arg) : G(Arg.G), NI(std::move(Arg.NI)) {} iterator &operator=(iterator Arg) { std::swap(Arg, *this); return *this;