Explorar el Código

Fix invalid reference return in IndexedListIterator

Nils Maier hace 12 años
padre
commit
e25c0955c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;