浏览代码

Fix invalid reference return in IndexedListIterator

Nils Maier 12 年之前
父节点
当前提交
e25c0955c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/IndexedList.h

+ 1 - 1
src/IndexedList.h

@@ -103,7 +103,7 @@ struct IndexedListIterator {
     return *this;
   }
 
-  SelfType& operator--(int)
+  SelfType operator--(int)
   {
     SelfType copy = *this;
     --*this;