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:
Daviw Williams 2012-12-05 15:02:08 +01:00
parent 5a3d24e09b
commit 78cdf9acd6

View File

@ -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