Skip to content
Snippets Groups Projects
Commit 9e026baa authored by Oliver Sander's avatar Oliver Sander
Browse files

replace char* by const char*, to avoid warnings by g++-4.2

[[Imported from SVN: r5084]]
parent 97eb50c3
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ string ConfigParser::get(const string& key, const string& defaultValue)
return defaultValue;
}
string ConfigParser::get(const string& key, char* defaultValue)
string ConfigParser::get(const string& key, const char* defaultValue)
{
if (hasKey(key))
return (*this)[key];
......
......@@ -157,7 +157,7 @@ namespace Dune {
* \param defaultValue default if key does not exist
* \return value as string
*/
std::string get(const std::string& key, char* defaultValue);
std::string get(const std::string& key, const char* defaultValue);
/** \brief get value as int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment