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