Skip to content

Commit

Permalink
Fix cstddef include in wrong place. (microsoft#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyfurnish authored and Neil MacIntosh committed Jun 2, 2017
1 parent 010ab92 commit 1f87ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gsl/gsl_byte
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#if defined(__cplusplus) && (__cplusplus >= 201703L)

#define GSL_USE_STD_BYTE 1
#include <cstddef>

#else // defined(__cplusplus) && (__cplusplus >= 201703L)

Expand All @@ -68,7 +69,6 @@ namespace gsl
{
#if GSL_USE_STD_BYTE

#include <cstddef>

using std::byte;
using std::to_integer;
Expand Down

0 comments on commit 1f87ef7

Please sign in to comment.