Commit c801f151 authored by Davis King's avatar Davis King

Fixed a bug which prevented get_option() from compiling if given both a

command line parser and config reader.
parent 0b463257
...@@ -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));
} }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
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