Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Weber
load_leveller
Commits
40f77727
Commit
40f77727
authored
Apr 25, 2019
by
Lukas Weber
Browse files
simplify get declaration
parent
4cc16131
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parser.h
View file @
40f77727
...
...
@@ -42,7 +42,7 @@ public:
}
template
<
typename
T
>
auto
get
(
const
std
::
string
&
key
,
T
default_val
)
->
decltype
(
default_val
)
const
{
auto
get
(
const
std
::
string
&
key
,
T
default_val
)
const
{
return
content_
[
key
].
as
<
T
>
(
default_val
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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