fix last push
This commit is contained in:
parent
aa12870c22
commit
9e5213530f
@ -44,7 +44,7 @@ namespace persistent_data {
|
|||||||
template <uint32_t Size = DEFAULT_BUFFER_SIZE, uint32_t Alignment = 512>
|
template <uint32_t Size = DEFAULT_BUFFER_SIZE, uint32_t Alignment = 512>
|
||||||
class buffer : private boost::noncopyable {
|
class buffer : private boost::noncopyable {
|
||||||
public:
|
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.");
|
"Alignment must be a power of two.");
|
||||||
|
|
||||||
typedef boost::shared_ptr<buffer> ptr;
|
typedef boost::shared_ptr<buffer> ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user