about summary refs log tree commit diff
path: root/src/base/tl/allocator.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
commit72c06a258940696093f255fb1061beb58e1cdd0b (patch)
tree36b9a7712eec2d4f07837eab9c38ef1c5af85319 /src/base/tl/allocator.hpp
parente56feb597bc743677633432f77513b02907fd169 (diff)
downloadzcatch-72c06a258940696093f255fb1061beb58e1cdd0b.tar.gz
zcatch-72c06a258940696093f255fb1061beb58e1cdd0b.zip
copied refactor to trunk
Diffstat (limited to 'src/base/tl/allocator.hpp')
-rw-r--r--src/base/tl/allocator.hpp15
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