From e25c0955c5703e246adba11606b9ceb54668465d Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 2 Apr 2013 19:20:35 +0200 Subject: [PATCH] Fix invalid reference return in IndexedListIterator --- src/IndexedList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IndexedList.h b/src/IndexedList.h index 0a259225..7108736b 100644 --- a/src/IndexedList.h +++ b/src/IndexedList.h @@ -103,7 +103,7 @@ struct IndexedListIterator { return *this; } - SelfType& operator--(int) + SelfType operator--(int) { SelfType copy = *this; --*this;