Fix mem_cast_tests

This commit is contained in:
John Wellbelove 2023-06-09 18:34:48 +01:00
parent 7f990d7a76
commit c7b4e349ea
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
===============================================================================
20.36.2
#707 parameter_pack: Fix C++17 pedantic build
===============================================================================
20.36.1
#700 Compilation error for [] map operator. Fixed map const placement new issue.

View File

@ -38,7 +38,6 @@ SOFTWARE.
namespace
{
#pragma pack(push,1)
struct Data
{
Data()
@ -59,7 +58,6 @@ namespace
double d;
std::array<int, 3> a;
};
#pragma pack(pop)
constexpr size_t Size = etl::largest<char, double, Data>::size;
constexpr size_t Alignment = etl::largest<char, double, Data>::alignment;