aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r--src/openvic-simulation/map/Province.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp
index 31b5d4c..d925898 100644
--- a/src/openvic-simulation/map/Province.hpp
+++ b/src/openvic-simulation/map/Province.hpp
@@ -2,7 +2,7 @@
#include <cassert>
-#include "openvic-simulation/map/Building.hpp"
+#include "openvic-simulation/economy/Building.hpp"
#include "openvic-simulation/pop/Pop.hpp"
namespace OpenVic {
@@ -55,7 +55,6 @@ namespace OpenVic {
fvec2_t navalbase;
fixed_point_t navalbase_rotation;
};
-
static constexpr index_t NULL_INDEX = 0, MAX_INDEX = std::numeric_limits<index_t>::max();
@@ -93,7 +92,7 @@ namespace OpenVic {
bool load_positions(BuildingManager const& building_manager, ast::NodeCPtr root);
bool add_building(BuildingInstance&& building_instance);
- IDENTIFIER_REGISTRY_ACCESSORS(BuildingInstance, building)
+ IDENTIFIER_REGISTRY_ACCESSORS(building)
void reset_buildings();
bool expand_building(std::string_view building_type_identifier);
Good const* get_rgo() const;