Unverified Commit 8e156bee authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #372 from zyearn/pooled_map_fix

fix pooled_map in the latest clang(Apple LLVM version 9.1.0)
parents 0de8f96d 14274c94
......@@ -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