Skip to content

Commit 556eb1a

Browse files
Atari2AZero13
authored andcommitted
<yvals_core.h>: Remove unnecessary _HAS_CXX23 definition (microsoft#2226)
1 parent c6185d5 commit 556eb1a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

stl/inc/yvals_core.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -381,20 +381,6 @@
381381
// * unique_copy
382382

383383
#include <vcruntime.h>
384-
385-
// TRANSITION, <vcruntime.h> should define _HAS_CXX23
386-
#ifndef _HAS_CXX23
387-
#if _HAS_CXX20 && (defined(_MSVC_LANG) && _MSVC_LANG > 202002L || __cplusplus > 202002L)
388-
#define _HAS_CXX23 1
389-
#else
390-
#define _HAS_CXX23 0
391-
#endif
392-
#endif // _HAS_CXX23
393-
394-
#if _HAS_CXX23 && !_HAS_CXX20
395-
#error _HAS_CXX23 must imply _HAS_CXX20.
396-
#endif
397-
398384
#include <xkeycheck.h> // The _HAS_CXX tags must be defined before including this.
399385

400386
#ifndef _STL_WARNING_LEVEL

0 commit comments

Comments
 (0)