Added default value for bool arg in testDirRes function
This commit is contained in:
parent
ef0e071dc6
commit
76ff13b2e3
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ void make_help(eoParser & _parser)
|
|||
*
|
||||
* Always return true (for code easy writing on the other side :-)
|
||||
*/
|
||||
bool testDirRes(std::string _dirName, bool _erase)
|
||||
bool testDirRes(std::string _dirName, bool _erase=true)
|
||||
{
|
||||
string s = "test -d " + _dirName;
|
||||
int res = system(s.c_str());
|
||||
|
|
|
|||
Reference in a new issue