Commit c34e90c2 authored by charlie's avatar charlie
Browse files

Small change to value_parser

parent 6ae4227a
...@@ -191,7 +191,7 @@ struct value_parser ...@@ -191,7 +191,7 @@ struct value_parser
template <class T> template <class T>
struct value_parser<std::optional<T>> struct value_parser<std::optional<T>>
{ {
static T apply(const std::string& x) { return value_parser<T>::apply(x); } static std::optional<T> apply(const std::string& x) { return value_parser<T>::apply(x); }
}; };
struct argument_parser struct argument_parser
......
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