From 1d3529e93a449622987f259e6449a63fff62a1b2 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 16 Nov 2015 05:55:55 -0500 Subject: [PATCH] Default arguments belong at declaration, not definition --- src/libutil/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;