Commit 61c2158e authored by Timo Koch's avatar Timo Koch
Browse files

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

parent f5a776be
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment