Convert buffer_t to gmock.

This commit is contained in:
Joe Thornber
2013-03-22 12:04:38 +00:00
parent e3375443eb
commit c044c2c729
6 changed files with 121 additions and 263 deletions

View File

@ -47,6 +47,7 @@ namespace persistent_data {
BOOST_STATIC_ASSERT_MSG((Alignment > 1) & !(Alignment & (Alignment - 1)),
"Alignment must be a power of two.");
static uint32_t const ALIGNMENT = Alignment;
typedef boost::shared_ptr<buffer> ptr;
typedef boost::shared_ptr<buffer const> const_ptr;