diff options
Diffstat (limited to 'src/base/tl/allocator.hpp')
| -rw-r--r-- | src/base/tl/allocator.hpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/base/tl/allocator.hpp b/src/base/tl/allocator.hpp deleted file mode 100644 index 3baa1c19..00000000 --- a/src/base/tl/allocator.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef TL_FILE_ALLOCATOR_HPP -#define TL_FILE_ALLOCATOR_HPP - -template <class T> -class allocator_default -{ -public: - static T *alloc() { return new T; } - static void free(T *p) { delete p; } - - static T *alloc_array(int size) { return new T [size]; } - static void free_array(T *p) { delete [] p; } -}; - -#endif // TL_FILE_ALLOCATOR_HPP |