summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mai2022-09-02 05:51:44 -0400
committerGravatar GitHub2022-09-02 05:51:44 -0400
commit199f77b92f6e0f47844e44dcc5ef1f4dc299824c (patch)
tree1299d1394720fce0da610e5ac88ebf0000ae517c
parentMerge pull request #8844 from Kelebek1/demote (diff)
parentSilence std::aligned_storage warnings as it's deprecated in C++23, (diff)
downloadyuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.gz
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.xz
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.zip
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 70b1c5624..8e03f17d8 100644
--- a/src/common/parent_of_member.h
+++ b/src/common/parent_of_member.h
@@ -11,7 +11,7 @@ namespace Common {
11namespace detail { 11namespace detail {
12template <typename T, size_t Size, size_t Align> 12template <typename T, size_t Size, size_t Align>
13struct TypedStorageImpl { 13struct TypedStorageImpl {
14 std::aligned_storage_t<Size, Align> storage_; 14 alignas(Align) u8 storage_[Size];
15}; 15};
16} // namespace detail 16} // namespace detail
17 17