From c6ec0c9c9c9ffbf21a355441ddec265a42203a14 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 8 Aug 2013 15:08:51 +0100 Subject: [PATCH] Older versions of boost don't have BOOST_STATIC_ASSERT_MSG --- persistent-data/buffer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/persistent-data/buffer.h b/persistent-data/buffer.h index c0540c3..b1a7989 100644 --- a/persistent-data/buffer.h +++ b/persistent-data/buffer.h @@ -44,8 +44,7 @@ namespace persistent_data { template class buffer : private boost::noncopyable { public: - BOOST_STATIC_ASSERT_MSG((Alignment > 1) & !(Alignment & (Alignment - 1)), - "Alignment must be a power of two."); + BOOST_STATIC_ASSERT((Alignment > 1) & !(Alignment & (Alignment - 1))); static uint32_t const ALIGNMENT = Alignment; typedef boost::shared_ptr ptr;