meta: add parentheses around max to prevent conflicts with max macro on Windows (#1278)

This commit is contained in:
Christoph
2025-08-25 08:59:16 +02:00
committed by GitHub
parent 76b6841c51
commit 09b0e7f528
+1 -1
View File
@@ -28,7 +28,7 @@ template<typename>
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<std::size_t>::max();
inline constexpr std::size_t meta_dynamic_extent = (std::numeric_limits<std::size_t>::max)();
} // namespace entt