aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/military/LeaderTrait.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/military/LeaderTrait.hpp')
-rw-r--r--src/openvic-simulation/military/LeaderTrait.hpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/openvic-simulation/military/LeaderTrait.hpp b/src/openvic-simulation/military/LeaderTrait.hpp
index d885057..e61a1fc 100644
--- a/src/openvic-simulation/military/LeaderTrait.hpp
+++ b/src/openvic-simulation/military/LeaderTrait.hpp
@@ -14,13 +14,9 @@ namespace OpenVic {
struct LeaderTrait : HasIdentifier {
friend struct LeaderTraitManager;
- enum class trait_type_t {
- PERSONALITY,
- BACKGROUND
- };
+ enum class trait_type_t { PERSONALITY, BACKGROUND };
private:
-
const trait_type_t type;
/*
* Allowed modifiers for leaders:
@@ -51,15 +47,7 @@ namespace OpenVic {
private:
IdentifierRegistry<LeaderTrait> leader_traits;
inline static const string_set_t allowed_modifiers = {
- "attack",
- "defence",
- "morale",
- "organisation",
- "reconnaissance",
- "speed",
- "attrition",
- "experience",
- "reliability"
+ "attack", "defence", "morale", "organisation", "reconnaissance", "speed", "attrition", "experience", "reliability"
};
public: