summarylogtreecommitdiffstats
path: root/typedefs.patch
blob: a1547b3853ba1d0f4d653e40fa2380703af5dfd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- typedefs.hpp	2014/08/09 15:33:29	1.76
+++ typedefs.hpp	2016/02/04 22:48:46	1.77
@@ -235,7 +235,7 @@
   
   Guard& operator=( Guard& r)
   {
-    if( &r == this) return;
+    if( &r == this) return *this;
     delete guarded;
     guarded = r.guarded;
     r.guarded = NULL;