mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix issue with VS builds
The Visual Studio part of this patch was wrong, and left an empty if statement.
This commit is contained in:
parent
4b29878d70
commit
3161d6133f
@ -42,8 +42,8 @@
|
|||||||
#define GSL_LIKELY(x) __builtin_expect (!!(x), 1)
|
#define GSL_LIKELY(x) __builtin_expect (!!(x), 1)
|
||||||
#define GSL_UNLIKELY(x) __builtin_expect (!!(x), 0)
|
#define GSL_UNLIKELY(x) __builtin_expect (!!(x), 0)
|
||||||
#else
|
#else
|
||||||
#define GSL_LIKELY(x)
|
#define GSL_LIKELY(x) (x)
|
||||||
#define GSL_UNLIKELY(x)
|
#define GSL_UNLIKELY(x) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user