aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/research
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2023-12-10 01:38:35 +0100
committer zaaarf <me@zaaarf.foo>2023-12-10 01:38:35 +0100
commit2c562ac2d29942844f0aa4c44339ddd88489db8a (patch)
tree08ab46ed8401179c0d29a4e6a26f21c04c34cf6e /src/openvic-simulation/research
parent5688655934d8851a09ebfbc1149fadf3a5bafdd0 (diff)
feat: added missing country history keys (except decisions)
Diffstat (limited to 'src/openvic-simulation/research')
-rw-r--r--src/openvic-simulation/research/Invention.hpp6
-rw-r--r--src/openvic-simulation/research/Technology.hpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/research/Invention.hpp b/src/openvic-simulation/research/Invention.hpp
index 9cc158c..dc4256e 100644
--- a/src/openvic-simulation/research/Invention.hpp
+++ b/src/openvic-simulation/research/Invention.hpp
@@ -15,9 +15,9 @@ namespace OpenVic {
struct Invention : Modifier {
friend struct InventionManager;
//TODO implement limit and chance
- using unit_set_t = std::unordered_set<Unit const*>;
- using building_set_t = std::unordered_set<BuildingType const*>;
- using crime_set_t = std::unordered_set<Crime const*>;
+ using unit_set_t = std::set<Unit const*>;
+ using building_set_t = std::set<BuildingType const*>;
+ using crime_set_t = std::set<Crime const*>;
private:
const bool PROPERTY_CUSTOM_PREFIX(news, is);
diff --git a/src/openvic-simulation/research/Technology.hpp b/src/openvic-simulation/research/Technology.hpp
index 540d10f..52db87e 100644
--- a/src/openvic-simulation/research/Technology.hpp
+++ b/src/openvic-simulation/research/Technology.hpp
@@ -32,8 +32,8 @@ namespace OpenVic {
struct Technology : Modifier {
friend struct TechnologyManager;
- using unit_set_t = std::unordered_set<Unit const*>;
- using building_set_t = std::unordered_set<BuildingType const*>;
+ using unit_set_t = std::set<Unit const*>;
+ using building_set_t = std::set<BuildingType const*>;
private:
TechnologyArea const& PROPERTY(area);