diff --git a/include/fggl/ecs/types.hpp b/include/fggl/ecs/types.hpp index d82bd018863823ecadda09b753cd8ce6dfa4b981..92f727dd24f0864829f7e1bb2bded988daac3eb2 100644 --- a/include/fggl/ecs/types.hpp +++ b/include/fggl/ecs/types.hpp @@ -24,13 +24,13 @@ namespace fggl::ecs { struct entity { - std::uint32_t id; + const std::uint32_t id; }; constexpr const entity NULL_ENTITY = {0}; constexpr const entity MAX_ENTITY = {0xFFFFFFFF}; struct componentID { - std::uint32_t id; + const std::uint32_t id; }; constexpr const entity NULL_COMPONENT = {0};