Skip to content

Commit

Permalink
#1057 Remove unnecessary return in entity::modified
Browse files Browse the repository at this point in the history
* remove unnecessary return

* Update flecs.h
  • Loading branch information
Indra-db authored Oct 3, 2023
1 parent 808e510 commit c549506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flecs.h
Original file line number Diff line number Diff line change
Expand Up @@ -30567,7 +30567,7 @@ inline T* world::get_mut() const {
template <typename T>
inline void world::modified() const {
flecs::entity e(m_world, _::cpp_type<T>::id(m_world));
return e.modified<T>();
e.modified<T>();
}

template <typename First, typename Second>
Expand Down
2 changes: 1 addition & 1 deletion include/flecs/addons/cpp/impl/world.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ inline T* world::get_mut() const {
template <typename T>
inline void world::modified() const {
flecs::entity e(m_world, _::cpp_type<T>::id(m_world));
return e.modified<T>();
e.modified<T>();
}

template <typename First, typename Second>
Expand Down

0 comments on commit c549506

Please sign in to comment.