fix: fix typos in an error message in toml::get

when converting toml::value to std::tuple
This commit is contained in:
ToruNiina
2019-11-08 16:12:18 +09:00
parent 429763377f
commit adf8fa9234

View File

@@ -357,8 +357,8 @@ get(const basic_value<C, M, V>& v)
if(ar.size() != std::tuple_size<T>::value)
{
throw std::out_of_range(detail::format_underline(concat_to_string(
"[erorr] toml::get specified std::tuple with ",
std::tuple_size<T>::value, "elements, but there are ", ar.size(),
"[error] toml::get specified std::tuple with ",
std::tuple_size<T>::value, " elements, but there are ", ar.size(),
" elements in toml array."), {
{std::addressof(detail::get_region(v)), "here"}
}));