about summary refs log tree commit diff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-11-16T10·54-0500
committerShea Levy <shea@shealevy.com>2015-11-16T10·54-0500
commit9b4cd20752886d2e5447297d5fd00dd83b1ce547 (patch)
treedfa29a9f3e717cd49851399cc97a8c2615b933fe /src/libutil/util.cc
parent58d2fac91d0da7312e3ef147b6b290ea16031da8 (diff)
Fix copy-paste error
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 84f578eec355..0a19e79bcf09 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -629,7 +629,7 @@ void AutoDelete::cancel()
 }
 
 void AutoDelete::reset(const Path & p, bool recursive = true) {
-    this-> p = p;
+    path = p;
     this->recursive = recursive;
     del = true;
 }