Skip to content
Snippets Groups Projects
Commit 61c2158e authored by Timo Koch's avatar Timo Koch
Browse files

[bugfix][params] Do not look for defaults in hasKey

parent f5a776be
No related branches found
No related tags found
1 merge request!1632Feature/fix parameters
......@@ -60,7 +60,7 @@ public:
* \return true if key exists in structure, otherwise false
*/
bool hasKey(const std::string& key) const
{ return params_.hasKey(key) || defaultParams_.hasKey(key); }
{ return params_.hasKey(key); }
/** \brief test for key in group
*
......@@ -90,10 +90,6 @@ public:
if (compoundKey != "")
return true;
compoundKey = findKeyInGroup(defaultParams_, key, groupPrefix);
if (compoundKey != "")
return true;
return false;
}
......
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