Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
61c2158e
Commit
61c2158e
authored
Jun 03, 2019
by
Timo Koch
Browse files
[bugfix][params] Do not look for defaults in hasKey
parent
f5a776be
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/loggingparametertree.hh
View file @
61c2158e
...
...
@@ -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
;
}
...
...
Timo Koch
@timok
mentioned in commit
eee9b0e4
·
Jan 25, 2020
mentioned in commit
eee9b0e4
mentioned in commit eee9b0e4ab8e789b50b8c214efbc3073ca47b193
Toggle commit list
Timo Koch
@timok
mentioned in commit
268d3b5d
·
Feb 03, 2020
mentioned in commit
268d3b5d
mentioned in commit 268d3b5d1824b4f3ea56d972ebecbc1056d84b94
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment