From 8f1717f6970039ebad57754e548237bac7d0d871 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 7 Oct 2002 17:13:22 +0000 Subject: Fix bug in last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4058 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CFG.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 0e48ef5..8b68627 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -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; } -- cgit v1.1