From 43c24e1f2178e0605dc71f12355d92acc3d10a0b Mon Sep 17 00:00:00 2001 From: Guido Novati Date: Wed, 4 Dec 2019 12:20:32 +0100 Subject: [PATCH] removed const to enable move assignment, which in turn is needed by CubismUP --- include/Cubism/ArgumentParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Cubism/ArgumentParser.h b/include/Cubism/ArgumentParser.h index 99c22eb..1af32d1 100644 --- a/include/Cubism/ArgumentParser.h +++ b/include/Cubism/ArgumentParser.h @@ -57,7 +57,7 @@ public: class CommandlineParser { private: - const int iArgC; + int iArgC; char** vArgV; bool bStrictMode, bVerbose; @@ -106,7 +106,7 @@ class ArgumentParser : public CommandlineParser typedef std::map pArgMap; typedef std::map FileMap; - const char commentStart; + char commentStart; // keep a reference from option origin ArgMap from_commandline; -- GitLab