Skip to content

Commit

Permalink
Test if MSVC C++20 can catch the real issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Dec 13, 2023
1 parent ced4145 commit 54c61c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/std/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ OPENTELEMETRY_END_NAMESPACE
OPENTELEMETRY_BEGIN_NAMESPACE
namespace nostd
{
constexpr std::size_t dynamic_extent = (std::numeric_limits<std::size_t>::max)();
constexpr std::size_t dynamic_extent = std::numeric_limits<std::size_t>::max();

template <class ElementType, std::size_t Extent = nostd::dynamic_extent>
using span = std::span<ElementType, Extent>;
Expand Down

0 comments on commit 54c61c6

Please sign in to comment.