whitespace

This commit is contained in:
Joe Thornber 2013-01-23 12:54:54 +00:00
parent 78563e1709
commit bb3d8b9aee

View File

@ -32,15 +32,14 @@
//---------------------------------------------------------------- //----------------------------------------------------------------
namespace persistent_data { namespace persistent_data {
// Joe has buffer<> in other parts of the code, so...
uint32_t const DEFAULT_BUFFER_SIZE = 4096; uint32_t const DEFAULT_BUFFER_SIZE = 4096;
// Allocate buffer of Size with Alignment imposed. // Allocate buffer of Size with Alignment imposed.
// //
// Allocation needs to be on the heap in order to provide alignment guarantees! // Allocation needs to be on the heap in order to provide alignment
// // guarantees.
//
// Alignment must be a power of two. // Alignment must be a power of two.
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: