File: fix-ftbfs-gcc4.9.diff

package info (click to toggle)
libopkele 2.0.4%2Bgit20140305.9651b55-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 584 kB
  • sloc: cpp: 4,885; makefile: 131; xml: 82; ansic: 70; sql: 55; sh: 13
file content (15 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- libopkele-2.0.4.orig/include/opkele/iterator.h.bak	2009-08-31 11:57:35.000000000 +0000
+++ libopkele-2.0.4.orig/include/opkele/iterator.h	2014-06-02 01:01:58.221848431 +0000
@@ -159,10 +159,10 @@
 			if(!found) empty=true;
 			return *this;
 		    }
-		    basic_filterator<IT> operator++(int) {
+		    basic_filterator<IT>& operator++(int) {
 			basic_filterator<IT> rv(*this);
 			++(*this);
-			return rv;
+			return *this;
 		    }
 
 		    void prepare() {