diff options
author | Mai <mathew1800@gmail.com> | 2022-09-02 11:51:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 11:51:44 +0200 |
commit | 199f77b92f6e0f47844e44dcc5ef1f4dc299824c (patch) | |
tree | 1299d1394720fce0da610e5ac88ebf0000ae517c /src/common/parent_of_member.h | |
parent | Merge pull request #8844 from Kelebek1/demote (diff) | |
parent | Silence std::aligned_storage warnings as it's deprecated in C++23, (diff) | |
download | yuzu-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.h | 2 |
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 |