buffer_t const assignment fails

This commit is contained in:
Joe Thornber
2013-01-23 13:12:17 +00:00
parent 5776ba114c
commit c2ab5390cb
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ namespace persistent_data {
class buffer : private boost::noncopyable {
public:
typedef boost::shared_ptr<buffer> ptr;
typedef boost::shared_ptr<buffer const> const_ptr;
unsigned char &operator[](unsigned index) {
check_index(index);