fix: remove overlapping [error] sign

This commit is contained in:
ToruNiina
2019-11-13 17:35:23 +09:00
parent 87bebbc37d
commit af116991b6
3 changed files with 92 additions and 92 deletions

View File

@@ -32,7 +32,7 @@ template<value_t Expected,
throw_bad_cast(value_t actual, const ::toml::basic_value<C, T, A>& v)
{
throw type_error(detail::format_underline(concat_to_string(
"[error] toml::value bad_cast to ", Expected), {
"toml::value: bad_cast to ", Expected), {
{std::addressof(get_region(v)),
concat_to_string("the actual type is ", actual)}
}), v.location());