diff --git a/persistent-data/buffer.h b/persistent-data/buffer.h index d09e763..051db59 100644 --- a/persistent-data/buffer.h +++ b/persistent-data/buffer.h @@ -44,7 +44,7 @@ namespace persistent_data { template class buffer : private boost::noncopyable { public: - BOOST_STATIC_ASSERT_MSG((Alignment > 1) && !(Alignment & (Alignment - 1)), + BOOST_STATIC_ASSERT_MSG((Alignment > 1) & !(Alignment & (Alignment - 1)), "Alignment must be a power of two."); typedef boost::shared_ptr ptr;