diff --git a/src/entt/meta/fwd.hpp b/src/entt/meta/fwd.hpp index 25097ccaf..1b1363958 100644 --- a/src/entt/meta/fwd.hpp +++ b/src/entt/meta/fwd.hpp @@ -28,7 +28,7 @@ template class meta_factory; /*! @brief Used to identicate that a sequence container has not a fixed size. */ -inline constexpr std::size_t meta_dynamic_extent = std::numeric_limits::max(); +inline constexpr std::size_t meta_dynamic_extent = (std::numeric_limits::max)(); } // namespace entt