Skip to content

Commit 3906b31

Browse files
committed
Workaround for constexpr compiler bug in VS 2015 RTM
1 parent bb8cf13 commit 3906b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Inc/DirectXMath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define XM_CTOR_DEFAULT =default;
4040
#endif
4141

42-
#if defined(_MSC_VER) && (_MSC_VER < 1900)
42+
#if defined(_MSC_VER) && (_MSC_FULL_VER < 190023506)
4343
#define XM_CONSTEXPR const
4444
#else
4545
#define XM_CONSTEXPR constexpr

0 commit comments

Comments
 (0)