Fix typo: to many → too many

This commit is contained in:
Delapouite 2017-09-07 21:45:46 +02:00
parent 8e3e5b10c1
commit 3ed0ac8f62

View File

@ -197,7 +197,7 @@ void option_from_string(StringView str, std::tuple<Types...>& opt)
if (elems.size() != sizeof...(Types)) if (elems.size() != sizeof...(Types))
throw runtime_error(elems.size() < sizeof...(Types) ? throw runtime_error(elems.size() < sizeof...(Types) ?
"not enough elements in tuple" "not enough elements in tuple"
: "to many elements in tuple"); : "too many elements in tuple");
TupleOptionDetail<sizeof...(Types)-1, Types...>::from_string(elems, opt); TupleOptionDetail<sizeof...(Types)-1, Types...>::from_string(elems, opt);
} }