diff options
author | frosch <frosch@openttd.org> | 2009-10-18 20:26:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-10-18 20:26:29 +0000 |
commit | b8f8c60839ac0451ae83333fd2df9b87a1219534 (patch) | |
tree | c16983ed493cd0c6047ba3a7f3d5df1878461058 /src/thread/thread.h | |
parent | fea06c575532d1070dc67e49453872601f97f84a (diff) | |
download | openttd-b8f8c60839ac0451ae83333fd2df9b87a1219534.tar.xz |
(svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though.
The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
Diffstat (limited to 'src/thread/thread.h')
0 files changed, 0 insertions, 0 deletions