From 60372b6468ebf6b7aec6646ce0e6affe8c932bc4 Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Mon, 24 Feb 2020 13:43:42 -0800 Subject: [PATCH] apple-clang failed again, forcing class instead of struct --- include/gsl/span | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsl/span b/include/gsl/span index f11ea6a..bcb55d4 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -68,11 +68,11 @@ namespace std // array is only used for a few constructors, so pulling the entire header is unnecessary for span. // The end user's logic will pull in the actual definition of array if they need it. template -#if defined(__clang__) || defined(__APPLE__) +#if defined(__clang__) && !defined(__APPLE__) struct array; #else class array; -#endif // defined(__clang__) || defined(__APPLE__) +#endif // defined(__clang__) && !defined(__APPLE__) } namespace gsl