Merge pull request #8843 from Kelebek1/SILENCE_WENCH

Silence a million MSVC warnings
This commit is contained in:
Mai 2022-09-02 05:51:44 -04:00 committed by GitHub
commit 199f77b92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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