Merge pull request #823 from RedDwarf69/std_byte_fix

Add missing #include if built with GSL_USE_STD_BYTE=1
This commit is contained in:
Jordan Maples [MSFT] 2020-04-13 11:33:56 -07:00 committed by GitHub
commit 044849d6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,10 @@
#define byte_may_alias
#endif // defined __clang__ || defined __GNUC__
#if GSL_USE_STD_BYTE
#include <cstddef>
#endif
namespace gsl
{
#if GSL_USE_STD_BYTE