From 4ef33d4df6198e613b0f27406d49978c8ea2fb97 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 10 Dec 2023 23:15:41 +0100 Subject: feat: improved identifier registry macro --- src/openvic-simulation/military/Deployment.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/openvic-simulation/military/Deployment.hpp') diff --git a/src/openvic-simulation/military/Deployment.hpp b/src/openvic-simulation/military/Deployment.hpp index 597f727..2aef314 100644 --- a/src/openvic-simulation/military/Deployment.hpp +++ b/src/openvic-simulation/military/Deployment.hpp @@ -90,16 +90,13 @@ namespace OpenVic { struct DeploymentManager { private: - IdentifierInstanceRegistry deployments; + IdentifierInstanceRegistry IDENTIFIER_REGISTRY(deployment); string_set_t missing_oob_files; public: - DeploymentManager(); - bool add_deployment( std::string_view path, std::vector&& armies, std::vector&& navies, std::vector&& leaders ); - IDENTIFIER_REGISTRY_ACCESSORS(deployment) bool load_oob_file( GameManager const& game_manager, Dataloader const& dataloader, std::string_view history_path, -- cgit v1.2.3-56-ga3b1