Default arguments belong at declaration, not definition
This commit is contained in:
parent
9b4cd20752
commit
1d3529e93a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue