diff options
author | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-10-30 22:13:11 +0100 |
---|---|---|
committer | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-10-30 22:19:38 +0100 |
commit | 5fe418376e4a53cf77c936ed24bef6d7736260e4 (patch) | |
tree | ade1e1d108238b88758e2da654a5ec20b47cf40a /src/openvic-simulation/modifier/ModifierValue.hpp | |
parent | 5d8451172fefa93f6f53583fa6b8723f1dd3598e (diff) |
Use normal const for fixed_point_tcleanup_const&
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierValue.hpp')
-rw-r--r-- | src/openvic-simulation/modifier/ModifierValue.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/modifier/ModifierValue.hpp b/src/openvic-simulation/modifier/ModifierValue.hpp index 6e6a29b..f693b7a 100644 --- a/src/openvic-simulation/modifier/ModifierValue.hpp +++ b/src/openvic-simulation/modifier/ModifierValue.hpp @@ -37,8 +37,8 @@ namespace OpenVic { ModifierValue operator-() const; ModifierValue& operator-=(ModifierValue const& right); ModifierValue operator-(ModifierValue const& right) const; - ModifierValue& operator*=(fixed_point_t const& right); - ModifierValue operator*(fixed_point_t const& right) const; + ModifierValue& operator*=(const fixed_point_t right); + ModifierValue operator*(const fixed_point_t right) const; void apply_exclude_targets(ModifierEffect::target_t excluded_targets); void multiply_add_exclude_targets( |