Fixed use of static_asserts with Boost. These weren't working because static_assert takes two parameters (condition and message) whereas BOOST_STATIC_ASSERT only takes a condition.
This commit is contained in:
parent
5a3d24e09b
commit
78cdf9acd6
@ -77,7 +77,7 @@ freely, subject to the following restrictions:
|
||||
#define polyvox_placeholder_2 _2
|
||||
|
||||
#include <boost/static_assert.hpp>
|
||||
#define static_assert BOOST_STATIC_ASSERT
|
||||
#define static_assert(condition, message) BOOST_STATIC_ASSERT(condition)
|
||||
|
||||
|
||||
//As long as we're requiring boost, we'll use it to compensate
|
||||
|
Loading…
x
Reference in New Issue
Block a user