Browse Source

table: non-defaulted table iterator's default ctor

Michele Caini 1 year ago
parent
commit
3a97180b63
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/entt/entity/table.hpp

+ 2 - 1
src/entt/entity/table.hpp

@@ -31,7 +31,8 @@ public:
     using iterator_category = std::input_iterator_tag;
     using iterator_concept = std::random_access_iterator_tag;
 
-    constexpr table_iterator() noexcept = default;
+    constexpr table_iterator() noexcept
+        : it{} {}
 
     constexpr table_iterator(It... from) noexcept
         : it{from...} {}