Explorar o código

Merge pull request #8843 from Kelebek1/SILENCE_WENCH

Silence a million MSVC warnings
Mai %!s(int64=3) %!d(string=hai) anos
pai
achega
199f77b92f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/parent_of_member.h

+ 1 - 1
src/common/parent_of_member.h

@@ -11,7 +11,7 @@ namespace Common {
 namespace detail {
 template <typename T, size_t Size, size_t Align>
 struct TypedStorageImpl {
-    std::aligned_storage_t<Size, Align> storage_;
+    alignas(Align) u8 storage_[Size];
 };
 } // namespace detail