Browse Source

meta: minor changes

Michele Caini 1 year ago
parent
commit
4a542c3ad0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/meta/range.hpp

+ 1 - 1
src/entt/meta/range.hpp

@@ -75,7 +75,7 @@ struct meta_range_iterator final {
     }
 
     [[nodiscard]] constexpr reference operator*() const noexcept {
-        return {it->first, Type{*ctx, it->second}};
+        return operator[](0);
     }
 
     template<typename... Args>