aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-11-16 05:55:55 -0500
committerShea Levy <shea@shealevy.com>2015-11-16 05:55:55 -0500
commit1d3529e93a449622987f259e6449a63fff62a1b2 (patch)
treecbbb9c28c18277528b9ed130742e01987a48a76b
parent9b4cd20752886d2e5447297d5fd00dd83b1ce547 (diff)
Default arguments belong at declaration, not definition
-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 0a19e79bc..75032bf90 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;