Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
c801f151
Commit
c801f151
authored
Feb 05, 2012
by
Davis King
Browse files
Fixed a bug which prevented get_option() from compiling if given both a
command line parser and config reader.
parent
0b463257
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/cmd_line_parser/get_option.h
dlib/cmd_line_parser/get_option.h
+1
-1
No files found.
dlib/cmd_line_parser/get_option.h
View file @
c801f151
...
@@ -170,7 +170,7 @@ namespace dlib
...
@@ -170,7 +170,7 @@ namespace dlib
const
char
*
default_value
const
char
*
default_value
)
)
{
{
return
get_option
(
parser
,
cr
,
std
::
string
(
default_value
));
return
get_option
(
parser
,
cr
,
option_name
,
std
::
string
(
default_value
));
}
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
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