Package: xstow / 1.0.0-2.1

build-fix-gcc-4.8 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/ref.h
+++ b/src/ref.h
@@ -205,10 +205,10 @@
       return true;
     }
 
-  operator V() const { return *(address()); }
+  operator V&() const { return *(address()); }
   operator V*() const { return address(); }
 
-  operator V() { return *(address()); }
+  operator V&() { return *(address()); }
   operator V*() { return address(); }
 
  private: