Default arguments belong at declaration, not definition

This commit is contained in:
Shea Levy 2015-11-16 05:55:55 -05:00
parent 9b4cd20752
commit 1d3529e93a

View file

@ -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;