aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Furnish <gfurnish@gfurnish.net>2017-06-02 09:45:42 -0600
committerNeil MacIntosh <neilmac@microsoft.com>2017-06-02 08:45:42 -0700
commit1f87ef73f1477e8adafa8b10ccee042897612a20 (patch)
tree1e2899c6add1030a0547144a6569f2ac106beefb
parent010ab921bf5a4ae94cd0b883fe4022e5375e21eb (diff)
downloadplatform_external_Microsoft-GSL-1f87ef73f1477e8adafa8b10ccee042897612a20.tar.gz
platform_external_Microsoft-GSL-1f87ef73f1477e8adafa8b10ccee042897612a20.tar.bz2
platform_external_Microsoft-GSL-1f87ef73f1477e8adafa8b10ccee042897612a20.zip
Fix cstddef include in wrong place. (#520)
-rw-r--r--include/gsl/gsl_byte2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/gsl_byte b/include/gsl/gsl_byte
index 516ecfa..e8c56b5 100644
--- a/include/gsl/gsl_byte
+++ b/include/gsl/gsl_byte
@@ -55,6 +55,7 @@
#if defined(__cplusplus) && (__cplusplus >= 201703L)
#define GSL_USE_STD_BYTE 1
+#include <cstddef>
#else // defined(__cplusplus) && (__cplusplus >= 201703L)
@@ -68,7 +69,6 @@ namespace gsl
{
#if GSL_USE_STD_BYTE
-#include <cstddef>
using std::byte;
using std::to_integer;