1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2026-07-06 15:59:59 +00:00

Use containers for ept allocations

This commit is contained in:
Maurice Heumann
2022-12-24 08:36:23 +01:00
parent 33b44f1dc1
commit 1d23c10734
5 changed files with 121 additions and 157 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
namespace utils
{
template <typename T>
concept IsAllocator = requires(size_t size, void* ptr)
concept is_allocator = requires(size_t size, void* ptr)
{
T().free(T().allocate(size));
T().free(ptr);