mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
fix: incorrect function argument
This commit is contained in:
@@ -219,7 +219,7 @@ try_get(const basic_value<TC>& v) noexcept
|
||||
const auto loc = v.location();
|
||||
return err(make_error_info("toml::try_get(): bad_cast to "
|
||||
"std::chrono::system_clock::time_point", loc,
|
||||
"the actual type is " + to_string(v.type())), loc);
|
||||
"the actual type is " + to_string(v.type())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user