diff --git a/common/configparser.cc b/common/configparser.cc index 9b885c2cb53317e1526e00ba92fd405013e0c76c..c1e387fcc5abe538abb6fb245f90287f44afac87 100644 --- a/common/configparser.cc +++ b/common/configparser.cc @@ -191,13 +191,6 @@ string ConfigParser::get(const string& key, string defaultValue) } -string ConfigParser::get(const string& key, char* defaultValue) -{ - string s = defaultValue; - - return get(key, s); -} - int ConfigParser::get(const string& key, int defaultValue) { stringstream stream; diff --git a/common/configparser.hh b/common/configparser.hh index c1736b6c91ee59a7622baafaa13bfd91990d9ffc..8a3359cad88dea9756c504e6e43cff21c528eec6 100644 --- a/common/configparser.hh +++ b/common/configparser.hh @@ -148,9 +148,6 @@ namespace Dune { std::string get(const std::string& key, std::string defaultValue); - std::string get(const std::string& key, char* defaultValue); - - /** \brief get value as int * * Returns value for given key interpreted as int.