Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Feb 3, 2025
1 parent 87eb84d commit 1c5d4d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/include/Ice/StreamHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#include <iterator>
#include <ostream>

#if defined(_MSC_VER) // workaround for MSVC bug
#if defined(_MSC_VER)
// With MSVC, __has_include(<span>) evaluates to 1 in c++17 mode and the <span> header then issues a warning. This
// is a permissible but impractical behavior. As a result, we include <span> only in c++20 mode.
# if _MSVC_LANG >= 202002L
# include <span>
# endif
Expand Down

0 comments on commit 1c5d4d4

Please sign in to comment.