Commit 1070e629 by John Kessenich

Merge pull request #44 from fkaa/osx-const-key-fix

Fix missing const qualifier on TUnorderedMap template type
parents 2b3442ad 09d16c3e
...@@ -156,7 +156,7 @@ class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<K, D> > > { ...@@ -156,7 +156,7 @@ class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<K, D> > > {
}; };
template <class K, class D, class HASH = std::hash<K>, class PRED = std::equal_to<K> > template <class K, class D, class HASH = std::hash<K>, class PRED = std::equal_to<K> >
class TUnorderedMap : public std::unordered_map<K, D, HASH, PRED, pool_allocator<std::pair<K, D> > > { class TUnorderedMap : public std::unordered_map<K, D, HASH, PRED, pool_allocator<std::pair<K const, D> > > {
}; };
// //
......
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