* drop i2p::util::config::GetCharArg

This commit is contained in:
hagen 2015-12-28 00:00:00 +00:00
parent f3bee5ff3f
commit 1b2c88fe38
3 changed files with 4 additions and 11 deletions

View file

@ -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))