diff options
Diffstat (limited to 'src/openvic-simulation/dataloader')
-rw-r--r-- | src/openvic-simulation/dataloader/NodeTools.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openvic-simulation/dataloader/NodeTools.hpp b/src/openvic-simulation/dataloader/NodeTools.hpp index 45e6d4f..02ff239 100644 --- a/src/openvic-simulation/dataloader/NodeTools.hpp +++ b/src/openvic-simulation/dataloader/NodeTools.hpp @@ -7,7 +7,6 @@ #include <optional> #include <set> #include <type_traits> -#include <unordered_set> #include <openvic-dataloader/v2script/AbstractSyntaxTree.hpp> @@ -344,7 +343,7 @@ namespace OpenVic { } template<typename T> - Callback<T const&> auto set_callback_pointer(std::unordered_set<T const*>& set) { + Callback<T const&> auto set_callback_pointer(std::set<T const*>& set) { return [&set](T const& val) -> bool { set.insert(&val); return true; |