about summary refs log tree commit diff
path: root/src/base/tl/base.hpp
blob: c202de79f0e0bc5030a02a5c05ae4e7ce8928b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef TL_FILE_BASE_HPP
#define TL_FILE_BASE_HPP

#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;
}

#endif