aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/research
diff options
context:
space:
mode:
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);