mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
TinySTL: Fixed bug when string container is used with multiple different allocators.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#ifndef TINYSTL_UNORDERED_MAP_H
|
||||
#define TINYSTL_UNORDERED_MAP_H
|
||||
|
||||
#include "allocator.h"
|
||||
#include "buffer.h"
|
||||
#include "hash.h"
|
||||
#include "hash_base.h"
|
||||
@@ -73,7 +72,7 @@ namespace tinystl {
|
||||
typedef unordered_hash_node<Key, Value>* pointer;
|
||||
|
||||
size_t m_size;
|
||||
tinystl::buffer<pointer, Alloc> m_buckets;
|
||||
buffer<pointer, Alloc> m_buckets;
|
||||
};
|
||||
|
||||
template<typename Key, typename Value, typename Alloc>
|
||||
|
||||
Reference in New Issue
Block a user