Added default value for bool arg in testDirRes function

This commit is contained in:
evomarc 2002-02-02 05:59:05 +00:00
commit 76ff13b2e3

View file

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