From 2d76e0766f0d65ffd8c9eb19eaec705445f91af0 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Fri, 1 Dec 2023 20:03:03 +0100 Subject: feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX --- src/openvic-simulation/types/IdentifierRegistry.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/openvic-simulation/types/IdentifierRegistry.hpp') diff --git a/src/openvic-simulation/types/IdentifierRegistry.hpp b/src/openvic-simulation/types/IdentifierRegistry.hpp index 6c0dd3b..072ab07 100644 --- a/src/openvic-simulation/types/IdentifierRegistry.hpp +++ b/src/openvic-simulation/types/IdentifierRegistry.hpp @@ -105,7 +105,7 @@ namespace OpenVic { const std::string name; const bool log_lock; - std::vector<_Storage> items; + std::vector<_Storage> PROPERTY_REF(items); bool locked = false; string_map_t identifier_index_map; @@ -248,8 +248,6 @@ namespace OpenVic { return index < size(); } - REF_GETTERS(items) - std::vector get_item_identifiers() const { std::vector identifiers(items.size()); for (typename decltype(identifier_index_map)::value_type const& entry : identifier_index_map) { -- cgit v1.2.3-56-ga3b1