mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
permit tie with non-match types in from_toml
This commit is contained in:
@@ -100,7 +100,7 @@ struct from_toml_tie_impl<0, Ts...>
|
||||
{
|
||||
static void invoke(std::tuple<Ts& ...> tie, const toml::value& v)
|
||||
{
|
||||
throw type_error("from_toml(tie, value): no match");
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user