aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Pop.cpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-10-30 22:39:59 +0100
committer GitHub <noreply@github.com>2024-10-30 22:39:59 +0100
commitc763a0aedd834432b54b6e49c6bc7e1936be1131 (patch)
treeade1e1d108238b88758e2da654a5ec20b47cf40a /src/openvic-simulation/pop/Pop.cpp
parent5d8451172fefa93f6f53583fa6b8723f1dd3598e (diff)
parent5fe418376e4a53cf77c936ed24bef6d7736260e4 (diff)
Merge pull request #220 from OpenVicProject/cleanup_const&
Use normal const for fixed_point_t
Diffstat (limited to 'src/openvic-simulation/pop/Pop.cpp')
-rw-r--r--src/openvic-simulation/pop/Pop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/pop/Pop.cpp b/src/openvic-simulation/pop/Pop.cpp
index 0f0de69..5780450 100644
--- a/src/openvic-simulation/pop/Pop.cpp
+++ b/src/openvic-simulation/pop/Pop.cpp
@@ -141,7 +141,7 @@ void Pop::set_location(ProvinceInstance const& new_location) {
}
void Pop::update_gamestate(
- DefineManager const& define_manager, CountryInstance const* owner, fixed_point_t const& pop_size_per_regiment_multiplier
+ DefineManager const& define_manager, CountryInstance const* owner, const fixed_point_t pop_size_per_regiment_multiplier
) {
if (type->get_can_be_recruited()) {
if (