removed a weird "#define static_assert assert" that was surviving since 2004...

This commit is contained in:
Paolo Cignoni 2013-03-22 16:43:59 +00:00
parent b51ee87470
commit 246345bf19
1 changed files with 4 additions and 8 deletions

View File

@ -91,10 +91,6 @@ Edited Comments and GPL license
#include <assert.h>
#include <limits>
/// static_assert: implemented as a macro for "assert", but it is separated for clarity.
/// Should be used for checking integrity constraints that can be tested at complile time,
/// as the ones involving templated constants in templated classes.
#define static_assert assert
#ifdef __BORLANDC__
float sqrtf (float v) {return sqrt(v);}