swapped member order in alloc_cted_insert_type to suppress padding warnings

This commit is contained in:
joaquintides
2023-03-13 18:33:48 +01:00
committed by Christian Mazakas
parent 83040211e8
commit 81584c22cf

View File

@ -1063,8 +1063,8 @@ class alloc_cted_insert_type
emplace_type,typename TypePolicy::element_type
>::type;
Allocator al;
alignas(insert_type) unsigned char storage[sizeof(insert_type)];
Allocator al;
public:
alloc_cted_insert_type(const Allocator& al_,Args&&... args):al{al_}