Fix bug in last checkin
authorChris Lattner <sabre@nondot.org>
Mon, 7 Oct 2002 17:13:22 +0000 (17:13 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 7 Oct 2002 17:13:22 +0000 (17:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4058 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/CFG.h

index 0e48ef506ad9aa31a5079fe5d5ab6c4949843652..8b68627201dac8c963f9285063dd4010766b4e45 100644 (file)
@@ -104,6 +104,7 @@ public:
   inline const _Self &operator=(const _Self &I) {
     assert(Term == I.Term &&"Cannot assign iterators to two different blocks!");
     idx = I.idx;
+    return *this;
   }
     
   inline bool operator==(const _Self& x) const { return idx == x.idx; }