diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-10 01:38:35 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-10 01:38:35 +0100 |
commit | 2c562ac2d29942844f0aa4c44339ddd88489db8a (patch) | |
tree | 08ab46ed8401179c0d29a4e6a26f21c04c34cf6e /src/openvic-simulation/dataloader/NodeTools.hpp | |
parent | 5688655934d8851a09ebfbc1149fadf3a5bafdd0 (diff) |
feat: added missing country history keys (except decisions)
Diffstat (limited to 'src/openvic-simulation/dataloader/NodeTools.hpp')
-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; |