aboutsummaryrefslogtreecommitdiff
path: root/src/DI/allocation.tpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DI/allocation.tpp')
-rw-r--r--src/DI/allocation.tpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/DI/allocation.tpp b/src/DI/allocation.tpp
deleted file mode 100644
index 8753970..0000000
--- a/src/DI/allocation.tpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-
-#include "allocation.hpp"
-
-template <class Allocator>
-AllocDestructor<Allocator>::AllocDestructor(
- Allocator &allocator,
- Size alloc_size
-) noexcept
- : _allocator(allocator), _size(alloc_size)
-{
-}
-
-template <class Allocator>
-void AllocDestructor<Allocator>::operator()(Pointer ptr) noexcept
-{
- _alloc_traits::deallocate(_allocator, ptr, _size);
-}