aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-09-22 14:26:51 +0200
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-09-22 14:26:51 +0200
commitd7f839a887ef6a19c935a59cad2697712d3b948a (patch)
tree3265618460e8e7fcac1b767f14c985fbb1a3fd0d /src/openvic-simulation
parenta8d1e28de1dab36a407ea540e2d1393bc2478d15 (diff)
Other producer types as structs instead of classes
Diffstat (limited to 'src/openvic-simulation')
-rw-r--r--src/openvic-simulation/economy/production/ArtisanalProducer.hpp2
-rw-r--r--src/openvic-simulation/economy/production/FactoryProducer.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/economy/production/ArtisanalProducer.hpp b/src/openvic-simulation/economy/production/ArtisanalProducer.hpp
index e5c0b80..65aa3fa 100644
--- a/src/openvic-simulation/economy/production/ArtisanalProducer.hpp
+++ b/src/openvic-simulation/economy/production/ArtisanalProducer.hpp
@@ -6,7 +6,7 @@
#include "openvic-simulation/utility/Getters.hpp"
namespace OpenVic {
- class ArtisanalProducer final {
+ struct ArtisanalProducer {
private:
ProductionType const& PROPERTY(production_type);
GoodDefinition::good_definition_map_t PROPERTY(stockpile);
diff --git a/src/openvic-simulation/economy/production/FactoryProducer.hpp b/src/openvic-simulation/economy/production/FactoryProducer.hpp
index 54ddfb8..9e660ba 100644
--- a/src/openvic-simulation/economy/production/FactoryProducer.hpp
+++ b/src/openvic-simulation/economy/production/FactoryProducer.hpp
@@ -8,7 +8,7 @@
#include "openvic-simulation/utility/Getters.hpp"
namespace OpenVic {
- class FactoryProducer final {
+ struct FactoryProducer {
private:
static constexpr uint8_t DAYS_OF_HISTORY = 7;
using daily_profit_history_t = std::array<fixed_point_t, DAYS_OF_HISTORY>;