fix order

This commit is contained in:
Sébastien Loriot 2022-04-06 13:16:14 +02:00
parent c27c162950
commit 8c48ef4bfd
1 changed files with 1 additions and 1 deletions

View File

@ -44,13 +44,13 @@ class chained_map
chained_map_elem<T>* free; chained_map_elem<T>* free;
std::size_t table_size; std::size_t table_size;
std::size_t table_size_1; std::size_t table_size_1;
T def;
typedef std::allocator_traits<Allocator> Allocator_traits; typedef std::allocator_traits<Allocator> Allocator_traits;
typedef typename Allocator_traits::template rebind_alloc<chained_map_elem<T> > allocator_type; typedef typename Allocator_traits::template rebind_alloc<chained_map_elem<T> > allocator_type;
allocator_type alloc; allocator_type alloc;
std::size_t reserved_size; std::size_t reserved_size;
T def;
public: public:
T& xdef() { return def; } T& xdef() { return def; }