From: David Blaikie Date: Tue, 3 Mar 2015 19:29:13 +0000 (+0000) Subject: Remove explicit copy assignment operator in favor of the implicit/default to avoid... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7ff255b5f24959582676540694b62b570da295fa;p=oota-llvm.git Remove explicit copy assignment operator in favor of the implicit/default to avoid disabling/deprecating the implicit copy ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231109 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index afa7e6fd77f..fc45903042f 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -192,11 +192,6 @@ public: } bool operator!=(const iterator& x) const { return !operator==(x); } - const iterator &operator=(const iterator &I) { - CurNode = I.CurNode; - return *this; - } - value_type &operator*() const { assert(CurNode && "Dereferencing AliasSet.end()!"); return *CurNode;