removed a weird "#define static_assert assert" that was surviving since 2004...
This commit is contained in:
parent
b51ee87470
commit
246345bf19
|
|
@ -91,10 +91,6 @@ Edited Comments and GPL license
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits>
|
#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__
|
#ifdef __BORLANDC__
|
||||||
float sqrtf (float v) {return sqrt(v);}
|
float sqrtf (float v) {return sqrt(v);}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue