aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Issue.hpp
diff options
context:
space:
mode:
author CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com>2023-09-23 20:25:15 +0200
committer GitHub <noreply@github.com>2023-09-23 20:25:15 +0200
commit005a8026bb424779a146e00cc48621ff1d72b807 (patch)
treedde15211e31d861b61711bf6aebdeb8713393d53 /src/openvic-simulation/politics/Issue.hpp
parentebea2e473eefa3945508b0bf622a472b62d70d3b (diff)
Testing (#23)
* Fixes for building scons * Initial proof of concept auto-testing Shows how we can pull loaded data and display it back * Re-did headless Because hubert insisted it be done like this ;) * Auto-Testing Framework Basics * Requirements Calculations * Fix for messy merge (teach me to use merge tools) * Fixing up misc merge issues to fully reconcile with master changes * Re-added missing getters * Move of testing files due to folder reorgs * Use new accessors + int reading fix --------- Co-authored-by: Hop311 <hop3114@gmail.com>
Diffstat (limited to 'src/openvic-simulation/politics/Issue.hpp')
-rw-r--r--src/openvic-simulation/politics/Issue.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/politics/Issue.hpp b/src/openvic-simulation/politics/Issue.hpp
index 4b096ee..66e8d1a 100644
--- a/src/openvic-simulation/politics/Issue.hpp
+++ b/src/openvic-simulation/politics/Issue.hpp
@@ -15,7 +15,7 @@ namespace OpenVic {
protected:
IssueGroup(const std::string_view identifier);
-
+
public:
IssueGroup(IssueGroup&&) = default;
};
@@ -46,7 +46,7 @@ namespace OpenVic {
//in vanilla education, military and economic reforms are hardcoded to true and the rest to false
ReformType(const std::string_view new_identifier, bool uncivilised);
-
+
public:
ReformType(ReformType&&) = default;
};
@@ -61,7 +61,7 @@ namespace OpenVic {
const bool administrative;
ReformGroup(const std::string_view identifier, ReformType const& type, bool ordered, bool administrative);
-
+
public:
ReformGroup(ReformGroup&&) = default;
ReformType const& get_type() const;
@@ -87,7 +87,7 @@ namespace OpenVic {
ReformType const& get_type() const;
size_t get_ordinal() const;
};
-
+
//Issue manager - holds the registries
struct IssueManager {
private:
@@ -117,7 +117,7 @@ namespace OpenVic {
bool add_reform_group(const std::string_view identifier, ReformType const* type, bool ordered, bool administrative);
IDENTIFIER_REGISTRY_ACCESSORS(ReformGroup, reform_group)
-
+
bool add_reform(const std::string_view identifier, ReformGroup const* group, size_t ordinal);
IDENTIFIER_REGISTRY_ACCESSORS(Reform, reform)