소스 검색

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;