From aeb87906491e0dd31bb9d68867121dd6a4212737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Sun, 15 May 2022 20:36:16 +0200 Subject: [PATCH] Remove base/tl/base.h --- CMakeLists.txt | 1 - src/base/tl/base.h | 17 ----------------- src/base/tl/range.h | 2 +- src/game/client/lineinput.cpp | 1 - 4 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 src/base/tl/base.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 10c435f8b..3c2fa05c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1649,7 +1649,6 @@ set_src(BASE GLOB_RECURSE src/base tl/algorithm.h tl/allocator.h tl/array.h - tl/base.h tl/range.h tl/sorted_array.h tl/threading.h diff --git a/src/base/tl/base.h b/src/base/tl/base.h deleted file mode 100644 index f64f35078..000000000 --- a/src/base/tl/base.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_BASE_H -#define BASE_TL_BASE_H - -#include -#include -#include - -using std::swap; - -inline void tl_assert(bool statement) -{ - dbg_assert(statement, "assert!"); -} - -#endif diff --git a/src/base/tl/range.h b/src/base/tl/range.h index b3211771a..3d11e1b6e 100644 --- a/src/base/tl/range.h +++ b/src/base/tl/range.h @@ -3,7 +3,7 @@ #ifndef BASE_TL_RANGE_H #define BASE_TL_RANGE_H -#include "base/tl/base.h" +#include /* Group: Range concepts diff --git a/src/game/client/lineinput.cpp b/src/game/client/lineinput.cpp index fd44049f8..807e9cae4 100644 --- a/src/game/client/lineinput.cpp +++ b/src/game/client/lineinput.cpp @@ -2,7 +2,6 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include #include -#include #include "lineinput.h" #include