summaryrefslogtreecommitdiffstats
path: root/src/common/parent_of_member.h
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-09-02 11:51:44 +0200
committerGitHub <noreply@github.com>2022-09-02 11:51:44 +0200
commit199f77b92f6e0f47844e44dcc5ef1f4dc299824c (patch)
tree1299d1394720fce0da610e5ac88ebf0000ae517c /src/common/parent_of_member.h
parentMerge pull request #8844 from Kelebek1/demote (diff)
parentSilence std::aligned_storage warnings as it's deprecated in C++23, (diff)
downloadyuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.gz
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.bz2
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.lz
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.xz
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.tar.zst
yuzu-199f77b92f6e0f47844e44dcc5ef1f4dc299824c.zip
Diffstat (limited to 'src/common/parent_of_member.h')
-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 {
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