mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:21:43 +08:00
set test_from_toml
This commit is contained in:
@@ -8,7 +8,7 @@ namespace toml
|
||||
template<typename T>
|
||||
void from_toml(T& x, const toml::value& v)
|
||||
{
|
||||
x = toml::get<T>(v);
|
||||
x = toml::get<typename std::remove_reference<T>::type>(v);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user