diff --git a/include/toml11/get.hpp b/include/toml11/get.hpp index a147493..0704471 100644 --- a/include/toml11/get.hpp +++ b/include/toml11/get.hpp @@ -408,7 +408,7 @@ get(const basic_value& v) using value_type = typename T::value_type; const auto& a = v.as_array(); - std::unordered_set container; + T container; for (const auto& elem : a) { container.insert(get(elem));