about summary refs log tree commit diff
path: root/src/base/tl/base.hpp
blob: 238cfaea93dd26d61f80941ee35de9e83c7a54b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#include <base/system.h>

inline void assert(bool statement)
{
	dbg_assert(statement, "assert!");
}

template<class T>
inline void swap(T &a, T &b)
{
	T c = b;
	b = a;
	a = c;
}