diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:19:26 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:19:26 +0100 |
commit | f3009ab8f0785a54d3fd83c0d758c8ebd901adda (patch) | |
tree | 6e9df9ef2311c28ee590c30e3a1f00018105bdd9 /src/crepe/manager/ComponentManager.h | |
parent | 90c6bf03e59fdec64f850310bcbff45ae86f69e3 (diff) |
`make format`
Diffstat (limited to 'src/crepe/manager/ComponentManager.h')
-rw-r--r-- | src/crepe/manager/ComponentManager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/manager/ComponentManager.h b/src/crepe/manager/ComponentManager.h index 4e53954..685cae5 100644 --- a/src/crepe/manager/ComponentManager.h +++ b/src/crepe/manager/ComponentManager.h @@ -1,10 +1,10 @@ #pragma once #include <memory> +#include <set> #include <typeindex> #include <unordered_map> #include <vector> -#include <set> #include "../Component.h" #include "../types.h" @@ -156,7 +156,8 @@ public: private: template <typename T> - std::set<game_object_id_t> get_objects_by_predicate(const std::function<bool (const T &)> & pred) const; + std::set<game_object_id_t> + get_objects_by_predicate(const std::function<bool(const T &)> & pred) const; template <typename T> RefVector<T> get_components_by_ids(const std::set<game_object_id_t> & ids) const; |