aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/modifier/Modifier.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-09-22 19:09:37 +0200
committer hop311 <hop3114@gmail.com>2024-10-05 21:33:04 +0200
commitfb6b9439c219239691eb0201ec3f431b5dfe4893 (patch)
treebe95b7d37f7ef8185fe2401c3721cd0d84b9048f /src/openvic-simulation/modifier/Modifier.hpp
parent3c25d035484eada675d9d0243a66d1b3e6b97808 (diff)
Make ModifierEffect format argument mandatory
Diffstat (limited to 'src/openvic-simulation/modifier/Modifier.hpp')
-rw-r--r--src/openvic-simulation/modifier/Modifier.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/modifier/Modifier.hpp b/src/openvic-simulation/modifier/Modifier.hpp
index aa41ce4..4b032c0 100644
--- a/src/openvic-simulation/modifier/Modifier.hpp
+++ b/src/openvic-simulation/modifier/Modifier.hpp
@@ -166,7 +166,7 @@ namespace OpenVic {
public:
bool add_modifier_effect(
std::string_view identifier, bool positive_good,
- ModifierEffect::format_t format = ModifierEffect::format_t::PROPORTION_DECIMAL,
+ ModifierEffect::format_t format,
std::string_view localisation_key = {}
);