mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
feat: pass source_location to exception
This commit is contained in:
@@ -190,7 +190,7 @@ get(const basic_value<C, M, V>& v)
|
||||
"bad_cast to std::chrono::system_clock::time_point", {
|
||||
{std::addressof(detail::get_region(v)),
|
||||
concat_to_string("the actual type is ", v.type())}
|
||||
}));
|
||||
}), v.location());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user