From 059cd451af86e74ff2703564c02514be25f11f3b Mon Sep 17 00:00:00 2001 From: auto code formatter Date: Mon, 18 Sep 2023 09:31:45 +0000 Subject: [PATCH] apply clang-format --- core/include/cubos/core/data/serialization_map.hpp | 3 ++- core/include/cubos/core/ecs/blueprint.hpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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;