Commit 14274c94 authored by zhujiashun's avatar zhujiashun

fix pooled_map in the latest clang(Apple LLVM version 9.1.0)

parent 0de8f96d
......@@ -85,7 +85,7 @@ template <class T1, size_t BLOCK_SIZE> class PooledAllocator;
template <typename K, typename V, size_t BLOCK_SIZE = 512,
typename C = std::less<K> >
class PooledMap
: public std::map<K, V, C, details::PooledAllocator<int, BLOCK_SIZE> > {
: public std::map<K, V, C, details::PooledAllocator<std::pair<const K, V>, BLOCK_SIZE> > {
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment