diff options
author | Shea Levy <shea@shealevy.com> | 2015-11-16T10·55-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-11-16T10·55-0500 |
commit | 1d3529e93a449622987f259e6449a63fff62a1b2 (patch) | |
tree | cbbb9c28c18277528b9ed130742e01987a48a76b /src/libutil/util.cc | |
parent | 9b4cd20752886d2e5447297d5fd00dd83b1ce547 (diff) |
Default arguments belong at declaration, not definition
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 2 |
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; |