From 0eefbc4d41558fd23dcaa5874c619fa357be17e7 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:47:05 +0200 Subject: Clean up --- src/openvic-simulation/map/ProvinceInstance.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/openvic-simulation/map/ProvinceInstance.cpp b/src/openvic-simulation/map/ProvinceInstance.cpp index 4282e7b..e2128ed 100644 --- a/src/openvic-simulation/map/ProvinceInstance.cpp +++ b/src/openvic-simulation/map/ProvinceInstance.cpp @@ -202,9 +202,7 @@ void ProvinceInstance::_update_pops(DefineManager const& define_manager) { void ProvinceInstance::convert_rgo_worker_pops_to_equivalent(ProductionType const& production_type) { std::vector const& jobs = production_type.get_jobs(); - fixed_point_t total_worker_count_in_province = 0; //not counting equivalents for(Pop& pop : pops) { - bool is_worker_pop_type = false; for(Job const& job : jobs) { PopType const* const job_pop_type = job.get_pop_type(); PopType const* old_pop_type = pop.get_type(); @@ -215,10 +213,6 @@ void ProvinceInstance::convert_rgo_worker_pops_to_equivalent(ProductionType cons } } } - - if(is_worker_pop_type) { - total_worker_count_in_province += pop.get_size(); - } } } -- cgit v1.2.3-56-ga3b1