Simplify to_toml_table function code
This commit is contained in:
parent
3d8bc6c96a
commit
c096918e78
@ -69,8 +69,7 @@ void extract_from_toml_table(
|
||||
template<typename T>
|
||||
auto to_toml_table(const T& obj) -> toml::table
|
||||
{
|
||||
toml::table result;
|
||||
result = to_toml_table(obj);
|
||||
auto result = to_toml_table(obj);
|
||||
return result;
|
||||
}
|
||||
template<typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user