diff --git a/CMakeLists.txt b/CMakeLists.txt index 6171311c8..2bcec0287 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1686,7 +1686,6 @@ set_src(BASE GLOB_RECURSE src/base math.h system.cpp system.h - tl/allocator.h tl/range.h tl/threading.h unicode/confusables.cpp diff --git a/src/base/tl/allocator.h b/src/base/tl/allocator.h deleted file mode 100644 index 5d04d1192..000000000 --- a/src/base/tl/allocator.h +++ /dev/null @@ -1,17 +0,0 @@ -/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ -/* If you are missing that file, acquire a complete release at teeworlds.com. */ -#ifndef BASE_TL_ALLOCATOR_H -#define BASE_TL_ALLOCATOR_H - -template -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