From 54c61c6cc3b718650cc9e10466c9634e8ffcd236 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Wed, 13 Dec 2023 14:50:35 -0800 Subject: [PATCH] Test if MSVC C++20 can catch the real issue --- api/include/opentelemetry/std/span.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/include/opentelemetry/std/span.h b/api/include/opentelemetry/std/span.h index 1160d54fbe..083c6529b5 100644 --- a/api/include/opentelemetry/std/span.h +++ b/api/include/opentelemetry/std/span.h @@ -60,7 +60,7 @@ OPENTELEMETRY_END_NAMESPACE OPENTELEMETRY_BEGIN_NAMESPACE namespace nostd { -constexpr std::size_t dynamic_extent = (std::numeric_limits::max)(); +constexpr std::size_t dynamic_extent = std::numeric_limits::max(); template using span = std::span;