TinySTL: Fixed bug when string container is used with multiple different allocators.

This commit is contained in:
bkaradzic
2013-10-06 19:28:41 -07:00
parent b58294d54a
commit 05ca00212e
13 changed files with 73 additions and 77 deletions

View File

@@ -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>