buffer_t const assignment fails

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

No files matched your search

+1
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);