aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-09-02 05:51:44 -0400
committerGitHub <noreply@github.com>2022-09-02 05:51:44 -0400
commit199f77b92f6e0f47844e44dcc5ef1f4dc299824c (patch)
tree1299d1394720fce0da610e5ac88ebf0000ae517c
parent6690dfc486a09c281bbfea39c16e2474eba47202 (diff)
parentf294b886dbb6e34895da90dfb834c454ee3638de (diff)
Merge pull request #8843 from Kelebek1/SILENCE_WENCH
Silence a million MSVC warnings
-rw-r--r--src/common/parent_of_member.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/parent_of_member.h b/src/common/parent_of_member.h
index 70b1c56248..8e03f17d8b 100644
--- a/src/common/parent_of_member.h
+++ b/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