Index: src/GenPoly/ScopedMap.h
===================================================================
--- src/GenPoly/ScopedMap.h	(revision 64a32c6e568f57409de758afc26a9a3a9539ec08)
+++ src/GenPoly/ScopedMap.h	(revision 10dc7491a667863c329eca8e88d748bc09b5f0ea)
@@ -90,5 +90,5 @@
 				return next_valid();
 			}
-			iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
+			iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
 
 			iterator& operator-- () {
@@ -101,5 +101,5 @@
 				return prev_valid();
 			}
-			iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
+			iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
 
 			bool operator== (const iterator &that) {
@@ -166,5 +166,5 @@
 				return next_valid();
 			}
-			const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
+			const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
 
 			const_iterator& operator-- () {
@@ -177,5 +177,5 @@
 				return prev_valid();
 			}
-			const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
+			const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
 
 			bool operator== (const const_iterator &that) {
Index: src/GenPoly/ScopedSet.h
===================================================================
--- src/GenPoly/ScopedSet.h	(revision 64a32c6e568f57409de758afc26a9a3a9539ec08)
+++ src/GenPoly/ScopedSet.h	(revision 10dc7491a667863c329eca8e88d748bc09b5f0ea)
@@ -87,5 +87,5 @@
 				return next_valid();
 			}
-			iterator& operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
+			iterator operator++ (int) { iterator tmp = *this; ++(*this); return tmp; }
 
 			iterator& operator-- () {
@@ -98,5 +98,5 @@
 				return prev_valid();
 			}
-			iterator& operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
+			iterator operator-- (int) { iterator tmp = *this; --(*this); return tmp; }
 
 			bool operator== (const iterator &that) {
@@ -163,5 +163,5 @@
 				return next_valid();
 			}
-			const_iterator& operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
+			const_iterator operator++ (int) { const_iterator tmp = *this; ++(*this); return tmp; }
 
 			const_iterator& operator-- () {
@@ -174,5 +174,5 @@
 				return prev_valid();
 			}
-			const_iterator& operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
+			const_iterator operator-- (int) { const_iterator tmp = *this; --(*this); return tmp; }
 
 			bool operator== (const const_iterator &that) {
