diff options
Diffstat (limited to 'src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp')
-rw-r--r-- | src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp b/src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp index 9bf6f49..92bf921 100644 --- a/src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp +++ b/src/openvic-simulation/economy/production/ResourceGatheringOperation.cpp @@ -3,7 +3,7 @@ using namespace OpenVic; ResourceGatheringOperation::ResourceGatheringOperation( - ProductionType const& new_production_type, + ProductionType const* new_production_type, fixed_point_t new_size_multiplier, fixed_point_t new_revenue_yesterday, fixed_point_t new_output_quantity_yesterday, @@ -17,5 +17,5 @@ ResourceGatheringOperation::ResourceGatheringOperation( employees { std::move(new_employees) } {} ResourceGatheringOperation::ResourceGatheringOperation( - ProductionType const& new_production_type, fixed_point_t new_size_multiplier + ProductionType const* new_production_type, fixed_point_t new_size_multiplier ) : ResourceGatheringOperation { new_production_type, new_size_multiplier, 0, 0, 0, {} } {} |