diff --git a/include/toml11/get.hpp b/include/toml11/get.hpp index ecf62c7..a147493 100644 --- a/include/toml11/get.hpp +++ b/include/toml11/get.hpp @@ -405,7 +405,7 @@ template cxx::enable_if_t::value, T> get(const basic_value& v) { - using value_type = T; + using value_type = typename T::value_type; const auto& a = v.as_array(); std::unordered_set container;