diff --git a/src/common/command_line.h b/src/common/command_line.h index 7c48d94e4..2f64f5448 100644 --- a/src/common/command_line.h +++ b/src/common/command_line.h @@ -227,8 +227,8 @@ namespace command_line return vm[arg.name].defaulted(); } - template - T get_arg(const boost::program_options::variables_map& vm, const arg_descriptor& arg) + template + T get_arg(const boost::program_options::variables_map& vm, const arg_descriptor& arg) { return arg.depf(get_arg(vm, arg.ref), is_arg_defaulted(vm, arg), vm[arg.name].template as()); } @@ -242,7 +242,7 @@ namespace command_line template inline bool has_arg(const boost::program_options::variables_map& vm, const arg_descriptor& arg) { - return get_arg(vm, arg); + return get_arg(vm, arg); }