mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 15:21:45 +00:00
* drop i2p::util::config::GetCharArg
This commit is contained in:
1 parent
f3bee5ff3f
commit
1b2c88fe38
3 files changed
+4
-11
No files matched your search
@@ -114,13 +114,6 @@ namespace config
|
||||
}
|
||||
}
|
||||
|
||||
const char* GetCharArg(const std::string& strArg, const std::string& nDefault)
|
||||
{
|
||||
if (mapArgs.count(strArg))
|
||||
return mapArgs[strArg].c_str();
|
||||
return nDefault.c_str();
|
||||
}
|
||||
|
||||
std::string GetArg(const std::string& strArg, const std::string& strDefault)
|
||||
{
|
||||
if (mapArgs.count(strArg))
|
||||
|
||||
Reference in new issue
Block a user