Skip to content

Commit

Permalink
Use pool in std::unordered_map
Browse files Browse the repository at this point in the history
  • Loading branch information
SiarheiFedartsou committed Jul 11, 2024
1 parent e045dea commit 21f53ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/util/pool_allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MemoryManager
return instance;
}

// TODO: alignment!!!
template <typename T>
T *allocate(std::size_t n)
{
Expand Down

0 comments on commit 21f53ed

Please sign in to comment.