Simplify to_toml_table function code
All checks were successful
buildbot/IOCore-linux-builder Build done.
buildbot/IOCore-freebsd-builder Build done.
buildbot/IOCore-macos-builder Build done.

This commit is contained in:
S David 2024-08-13 14:40:51 -04:00
parent 3d8bc6c96a
commit c096918e78

View File

@ -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>