diff --git a/flecs.h b/flecs.h index 74534dc2fe..1f2764ac55 100644 --- a/flecs.h +++ b/flecs.h @@ -30567,7 +30567,7 @@ inline T* world::get_mut() const { template inline void world::modified() const { flecs::entity e(m_world, _::cpp_type::id(m_world)); - return e.modified(); + e.modified(); } template diff --git a/include/flecs/addons/cpp/impl/world.hpp b/include/flecs/addons/cpp/impl/world.hpp index f0fa16da4d..74b51c83ac 100644 --- a/include/flecs/addons/cpp/impl/world.hpp +++ b/include/flecs/addons/cpp/impl/world.hpp @@ -83,7 +83,7 @@ inline T* world::get_mut() const { template inline void world::modified() const { flecs::entity e(m_world, _::cpp_type::id(m_world)); - return e.modified(); + e.modified(); } template