More work on moving engine into dlmalloc heap
This commit is contained in:
@@ -5,21 +5,8 @@
|
||||
#include <unordered_set>
|
||||
|
||||
namespace eng {
|
||||
template<class T>
|
||||
using hash = std::hash<T>;
|
||||
template<class T>
|
||||
using equal_to = std::equal_to<T>;
|
||||
template<class K, class H=std::hash<K>, class E=std::equal_to<K>>
|
||||
using unordered_set = std::unordered_set<K, H, E, EngAllocator<K>>;
|
||||
using unordered_set = std::unordered_set<K, H, E, eng::allocator<K>>;
|
||||
} // namespace eng
|
||||
|
||||
namespace drv {
|
||||
template<class T>
|
||||
using hash = std::hash<T>;
|
||||
template<class T>
|
||||
using equal_to = std::equal_to<T>;
|
||||
template<class K, class H=std::hash<K>, class E=std::equal_to<K>>
|
||||
using unordered_set = std::unordered_set<K, H, E, DrvAllocator<K>>;
|
||||
} // namespace drv
|
||||
|
||||
#endif // WRAP_UNORDERED_SET_HPP
|
||||
|
||||
Reference in New Issue
Block a user