From bc0f34d32d7c9f03f781155f9191a5ba75699386 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 9 Apr 2005 09:30:27 +0000 Subject: [PATCH] Use static assert instead of mpl assert in the hash tests, as it's more portable. [SVN r28068] --- hash/test/compile_time.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); };