Fix cstddef include in wrong place. (#520)

This commit is contained in:
Gary Furnish 2017-06-02 09:45:42 -06:00 committed by Neil MacIntosh
parent 010ab921bf
commit 1f87ef73f1

View File

@ -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;