aboutsummaryrefslogtreecommitdiff
path: root/src/DI/allocation.tpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-30 16:28:13 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commit40d02748924aa7c48b04cf948204d8dacdfbbc74 (patch)
tree4d07a3703207295799b02cef52618a8f0c820542 /src/DI/allocation.tpp
parentdb6edcd473a684420e9a7611b24462df21165c1b (diff)
refactor: replace DI files with the yacppdic library
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);
-}