Skip to content
Snippets Groups Projects
Commit f294b886 authored by Kelebek1's avatar Kelebek1
Browse files

Silence std::aligned_storage warnings as it's deprecated in C++23,

replace it with alignas() and a C array
parent a83a5d2e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment