forked from boostorg/unordered
swapped member order in alloc_cted_insert_type to suppress padding warnings
This commit is contained in:
committed by
Christian Mazakas
parent
83040211e8
commit
81584c22cf
@ -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_}
|
||||
|
Reference in New Issue
Block a user