From 76ff13b2e3cc2a06005a967c710cdadadad3fc2d Mon Sep 17 00:00:00 2001 From: evomarc Date: Sat, 2 Feb 2002 05:59:05 +0000 Subject: [PATCH] Added default value for bool arg in testDirRes function --- eo/src/utils/make_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/utils/make_help.cpp b/eo/src/utils/make_help.cpp index 6924c174..1d7b2e5c 100644 --- a/eo/src/utils/make_help.cpp +++ b/eo/src/utils/make_help.cpp @@ -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());