Fix typo: to many → too many
This commit is contained in:
parent
8e3e5b10c1
commit
3ed0ac8f62
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user