diff --git a/core/include/cubos/core/data/serialization_map.hpp b/core/include/cubos/core/data/serialization_map.hpp index 42172e8df..a5abed2bd 100644 --- a/core/include/cubos/core/data/serialization_map.hpp +++ b/core/include/cubos/core/data/serialization_map.hpp @@ -121,7 +121,8 @@ namespace cubos::core::data /// @brief Returns the internal map that maps references to IDs /// @return Map of references and Ids. - inline std::unordered_map getMap() const { + inline std::unordered_map getMap() const + { return mRefToId; } diff --git a/core/include/cubos/core/ecs/blueprint.hpp b/core/include/cubos/core/ecs/blueprint.hpp index 72ef77944..de07f22ed 100644 --- a/core/include/cubos/core/ecs/blueprint.hpp +++ b/core/include/cubos/core/ecs/blueprint.hpp @@ -64,11 +64,11 @@ namespace cubos::core::ecs /// @brief Returns the internal map that maps entities to their names /// @return Map of entities and names. - inline std::unordered_map getMap() const { + inline std::unordered_map getMap() const + { return mMap.getMap(); } - private: friend class CommandBuffer;