mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* drop i2p::util::config::GetCharArg
This commit is contained in:
parent
f3bee5ff3f
commit
1b2c88fe38
3 changed files with 4 additions and 11 deletions
7
util.cpp
7
util.cpp
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue