From c549506c505b3c6e2a86a523aec9869a33daf37f Mon Sep 17 00:00:00 2001 From: Indradb <60851042+Indra-db@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:48:08 +0100 Subject: [PATCH] #1057 Remove unnecessary return in entity::modified * remove unnecessary return * Update flecs.h --- flecs.h | 2 +- include/flecs/addons/cpp/impl/world.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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