diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-16 01:08:05 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-16 01:08:05 +0200 |
commit | 8cf93b6523dc380ef0c7215e15e327a78bf4578e (patch) | |
tree | 87974e84563d08c2f2762b75da0cfb2b4e28eab2 /src/openvic-simulation/Modifier.cpp | |
parent | 8add7c666455a8a4edd9e02ca5a33f78a25e8f2c (diff) |
2D-vectors (positions.txt needs fixed point vecs)
Diffstat (limited to 'src/openvic-simulation/Modifier.cpp')
-rw-r--r-- | src/openvic-simulation/Modifier.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |