diff --git a/src/entt/core/iterator.hpp b/src/entt/core/iterator.hpp index 9f0aac799..cf84d4ebb 100644 --- a/src/entt/core/iterator.hpp +++ b/src/entt/core/iterator.hpp @@ -53,11 +53,8 @@ private: * @brief Plain iota iterator (waiting for C++20). * @tparam Type Value type. */ -template -class iota_iterator final { - static_assert(std::is_integral_v, "Not an integral type"); - -public: +template +struct iota_iterator final { /*! @brief Value type, likely an integral one. */ using value_type = Type; /*! @brief Invalid pointer type. */