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·55-0500
committerShea Levy <shea@shealevy.com>2015-11-16T10·55-0500
commit1d3529e93a449622987f259e6449a63fff62a1b2 (patch)
treecbbb9c28c18277528b9ed130742e01987a48a76b /src/libutil/util.cc
parent9b4cd20752886d2e5447297d5fd00dd83b1ce547 (diff)
Default arguments belong at declaration, not definition
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 0a19e79bcf09..75032bf90d0b 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -628,7 +628,7 @@ void AutoDelete::cancel()
     del = false;
 }
 
-void AutoDelete::reset(const Path & p, bool recursive = true) {
+void AutoDelete::reset(const Path & p, bool recursive) {
     path = p;
     this->recursive = recursive;
     del = true;