Merge pull request #912 from jwakely/patch-1

Fix comment typos
This commit is contained in:
Jordan Maples [MSFT] 2020-08-13 09:30:31 -07:00 committed by GitHub
commit ec471abe44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,8 +59,8 @@
#ifndef GSL_USE_STD_BYTE #ifndef GSL_USE_STD_BYTE
#include <cstddef> /* __cpp_lib_byte */ #include <cstddef> /* __cpp_lib_byte */
// this tests if we are under GCC or Clang with enough -std:c++1z power to get us 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 libstc++ actually contains std::byte // also check if libc++ version is sufficient (> 5.0) or libstdc++ actually contains std::byte
#if defined(__cplusplus) && (__cplusplus >= 201703L) && \ #if defined(__cplusplus) && (__cplusplus >= 201703L) && \
(defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) || \ (defined(__cpp_lib_byte) && (__cpp_lib_byte >= 201603) || \
defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 5000)) defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 5000))