From 96954d3319c31d564ed5aba4dfac3f16f991fb80 Mon Sep 17 00:00:00 2001 From: Marc Emmers Date: Sat, 16 Jan 2021 19:59:14 +0100 Subject: [PATCH] Replace classes with structs where applicable --- platform/cxxsupport/mstd_span | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/platform/cxxsupport/mstd_span b/platform/cxxsupport/mstd_span index 1cc4d4701a..dbc4b5988c 100644 --- a/platform/cxxsupport/mstd_span +++ b/platform/cxxsupport/mstd_span @@ -44,8 +44,7 @@ template class span; namespace detail { template -class storage { -public: +struct storage { constexpr storage() noexcept = default; constexpr storage(ElementType *ptr, size_t) noexcept : @@ -57,8 +56,7 @@ public: }; template -class storage { -public: +struct storage { constexpr storage() noexcept = default; constexpr storage(ElementType *ptr, size_t size) noexcept :