From 8cf93b6523dc380ef0c7215e15e327a78bf4578e Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 16 Sep 2023 00:08:05 +0100 Subject: 2D-vectors (positions.txt needs fixed point vecs) --- src/openvic-simulation/Modifier.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/openvic-simulation/Modifier.cpp') diff --git a/src/openvic-simulation/Modifier.cpp b/src/openvic-simulation/Modifier.cpp index ed32ee2..d2e21c6 100644 --- a/src/openvic-simulation/Modifier.cpp +++ b/src/openvic-simulation/Modifier.cpp @@ -10,6 +10,7 @@ bool ModifierEffect::get_positive_good() const { } ModifierValue::ModifierValue() = default; +ModifierValue::ModifierValue(effect_map_t&& new_values) : values { std::move(new_values) } {} ModifierValue::ModifierValue(ModifierValue const&) = default; ModifierValue::ModifierValue(ModifierValue&&) = default; -- cgit v1.2.3-56-ga3b1