Remove base/tl/base.h

This commit is contained in:
Robert Müller 2022-05-15 20:36:16 +02:00
parent 52100dbbe7
commit aeb8790649
4 changed files with 1 additions and 20 deletions

View file

@ -1649,7 +1649,6 @@ set_src(BASE GLOB_RECURSE src/base
tl/algorithm.h tl/algorithm.h
tl/allocator.h tl/allocator.h
tl/array.h tl/array.h
tl/base.h
tl/range.h tl/range.h
tl/sorted_array.h tl/sorted_array.h
tl/threading.h tl/threading.h

View file

@ -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 <algorithm>
#include <base/system.h>
#include <utility>
using std::swap;
inline void tl_assert(bool statement)
{
dbg_assert(statement, "assert!");
}
#endif

View file

@ -3,7 +3,7 @@
#ifndef BASE_TL_RANGE_H #ifndef BASE_TL_RANGE_H
#define BASE_TL_RANGE_H #define BASE_TL_RANGE_H
#include "base/tl/base.h" #include <base/system.h>
/* /*
Group: Range concepts Group: Range concepts

View file

@ -2,7 +2,6 @@
/* If you are missing that file, acquire a complete release at teeworlds.com. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <base/math.h> #include <base/math.h>
#include <base/system.h> #include <base/system.h>
#include <base/tl/base.h>
#include "lineinput.h" #include "lineinput.h"
#include <engine/keys.h> #include <engine/keys.h>