diff options
author | zaaarf <80046572+zaaarf@users.noreply.github.com> | 2023-12-10 01:48:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 01:48:54 +0100 |
commit | b3d0af96e5820e38f94bcfa04130768da99c8360 (patch) | |
tree | 08ab46ed8401179c0d29a4e6a26f21c04c34cf6e /src/openvic-simulation/dataloader | |
parent | abb0804b015d8444542af7a6c5db728c0fde4cfb (diff) | |
parent | 2c562ac2d29942844f0aa4c44339ddd88489db8a (diff) |
Merge pull request #87 from OpenVicProject/dataloading-country-history-2
Dataloading Country History - Part 2
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; |