diff --git a/include/gsl/gsl_byte b/include/gsl/gsl_byte index c0d78ce..0d74b13 100644 --- a/include/gsl/gsl_byte +++ b/include/gsl/gsl_byte @@ -59,8 +59,8 @@ #ifndef GSL_USE_STD_BYTE #include /* __cpp_lib_byte */ -// this tests if we are under GCC or Clang with enough -std:c++1z power to get us std::byte -// also check if libc++ version is sufficient (> 5.0) or libstc++ actually contains std::byte +// this tests if we are under GCC or Clang with enough -std=c++1z power to get us std::byte +// also check if libc++ version is sufficient (> 5.0) or libstdc++ actually contains std::byte #if defined(__cplusplus) && (__cplusplus >= 201703L) && \ (defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) || \ defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 5000))