aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2017-05-06 21:23:21 +0200
committerJorge Timón <jtimon@jtimon.cc>2017-05-09 21:37:29 +0200
commit52922456b86b98ea89b1deb672e1b5ac506c1ba3 (patch)
treeb38ad887f6aa0b082c02033824b2ca7511171cf2 /src/util.h
parentb3cbd554d90815725988f3810929f2450702a717 (diff)
Util: Put mapMultiArgs inside ArgsManager
- Set ArgsManager::mapMultiArgs in ArgsManager::SoftSetArg, ForceSetArg, SoftSetBoolArg
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index d6360a6c4c..229478d835 100644
--- a/src/util.h
+++ b/src/util.h
@@ -42,7 +42,6 @@ public:
boost::signals2::signal<std::string (const char* psz)> Translate;
};
-extern const std::map<std::string, std::vector<std::string> >& mapMultiArgs;
extern bool fPrintToConsole;
extern bool fPrintToDebugLog;
@@ -184,6 +183,7 @@ class ArgsManager
protected:
CCriticalSection cs_args;
std::map<std::string, std::string> mapArgs;
+ std::map<std::string, std::vector<std::string> > mapMultiArgs;
public:
void ParseParameters(int argc, const char*const argv[]);
void ReadConfigFile(const std::string& confPath);