diff options
author | hop311 <hop3114@gmail.com> | 2024-09-21 15:23:58 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-10-05 21:33:01 +0200 |
commit | 2bfd651778bff970991f3bd320a78a4008959b4a (patch) | |
tree | 1d3020efbcd14ddd2580fe492f0d5521af4ac33e /src/openvic-simulation/modifier/Modifier.cpp | |
parent | 9a84e7af70f2528578b00879e568bca285563e9b (diff) |
Store sources in ModifierSum
Diffstat (limited to 'src/openvic-simulation/modifier/Modifier.cpp')
-rw-r--r-- | src/openvic-simulation/modifier/Modifier.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/openvic-simulation/modifier/Modifier.cpp b/src/openvic-simulation/modifier/Modifier.cpp index b26b8dd..16a4479 100644 --- a/src/openvic-simulation/modifier/Modifier.cpp +++ b/src/openvic-simulation/modifier/Modifier.cpp @@ -115,10 +115,6 @@ ModifierValue ModifierValue::operator*(fixed_point_t const& right) const { return copy *= right; } -fixed_point_t& ModifierValue::operator[](ModifierEffect const& effect) { - return values[&effect]; -} - void ModifierValue::multiply_add(ModifierValue const& other, fixed_point_t multiplier) { if (multiplier == fixed_point_t::_1()) { *this += other; |