diff --git a/hash/test/compile_time.hpp b/hash/test/compile_time.hpp index cd54183..ff9fe51 100644 --- a/hash/test/compile_time.hpp +++ b/hash/test/compile_time.hpp @@ -5,12 +5,12 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include -#include +#include template void compile_time_tests(T*) { - BOOST_MPL_ASSERT((boost::is_base_and_derived< - std::unary_function, HASH_NAMESPACE::hash >)); + BOOST_STATIC_ASSERT((boost::is_base_and_derived< + std::unary_function, HASH_NAMESPACE::hash >::value)); };