mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix cstddef include in wrong place. (#520)
This commit is contained in:
parent
010ab921bf
commit
1f87ef73f1
@ -55,6 +55,7 @@
|
|||||||
#if defined(__cplusplus) && (__cplusplus >= 201703L)
|
#if defined(__cplusplus) && (__cplusplus >= 201703L)
|
||||||
|
|
||||||
#define GSL_USE_STD_BYTE 1
|
#define GSL_USE_STD_BYTE 1
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
#else // defined(__cplusplus) && (__cplusplus >= 201703L)
|
#else // defined(__cplusplus) && (__cplusplus >= 201703L)
|
||||||
|
|
||||||
@ -68,7 +69,6 @@ namespace gsl
|
|||||||
{
|
{
|
||||||
#if GSL_USE_STD_BYTE
|
#if GSL_USE_STD_BYTE
|
||||||
|
|
||||||
#include <cstddef>
|
|
||||||
|
|
||||||
using std::byte;
|
using std::byte;
|
||||||
using std::to_integer;
|
using std::to_integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user