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

This commit is contained in:
hagen committed 2015-12-28 10:54:00 +00:00
1 parent f3bee5ff3f
commit 1b2c88fe38
3 files changed
+4 -11

No files matched your search

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