Added comment.

This commit is contained in:
David Williams 2012-12-26 20:27:29 +00:00
parent 9ca84dc0e1
commit 25a4ff1c8e

View File

@ -69,6 +69,12 @@ freely, subject to the following restrictions:
#endif #endif
/*
* Static Assertions
* -----------------
* These map to C+11 static_assert if available or our own implentation otherwise.
*/
#if defined(HAS_CXX11_STATIC_ASSERT) #if defined(HAS_CXX11_STATIC_ASSERT)
//In this case we can just use static_assert //In this case we can just use static_assert
#define POLYVOX_STATIC_ASSERT static_assert #define POLYVOX_STATIC_ASSERT static_assert