mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-20 04:38:09 +08:00
tinier fix
This commit is contained in:
@@ -408,7 +408,7 @@ get(const basic_value<TC>& v)
|
|||||||
using value_type = typename T::value_type;
|
using value_type = typename T::value_type;
|
||||||
const auto& a = v.as_array();
|
const auto& a = v.as_array();
|
||||||
|
|
||||||
std::unordered_set<T> container;
|
T container;
|
||||||
for (const auto& elem : a)
|
for (const auto& elem : a)
|
||||||
{
|
{
|
||||||
container.insert(get<value_type>(elem));
|
container.insert(get<value_type>(elem));
|
||||||
|
Reference in New Issue
Block a user