diff --git a/lib/cpp_utils/ArgParse.cpp b/lib/cpp_utils/ArgParse.cpp index c6cb325..e5492c3 100644 --- a/lib/cpp_utils/ArgParse.cpp +++ b/lib/cpp_utils/ArgParse.cpp @@ -72,7 +72,7 @@ void ArgParse::addArgument(const std::string arg, void ArgParse::parseArgs(int argc, - const char* argv[]) + char* argv[]) { std::list argList; for (int i = 0; i < argc; ++i ) @@ -519,4 +519,4 @@ ArgParse::typeToString(const ValueType type, std::string valueName) const default: return ""; } -} \ No newline at end of file +} diff --git a/lib/cpp_utils/ArgParse.hpp b/lib/cpp_utils/ArgParse.hpp index 39aaae9..d9df2fc 100644 --- a/lib/cpp_utils/ArgParse.hpp +++ b/lib/cpp_utils/ArgParse.hpp @@ -71,7 +71,7 @@ public: * @throw std::logic_error If the addArgument was bad. */ void parseArgs(int argc, - const char* argv[]); + char* argv[]); void parseArgs(const std::list argList);