Get unit-tests building with g++ 4.8.1

This commit is contained in:
Joe Thornber
2013-06-25 14:18:38 +01:00
parent eb8d4c6f0b
commit 730f3b9f9a
5 changed files with 15 additions and 8 deletions

View File

@ -51,6 +51,10 @@ namespace persistent_data {
typedef boost::shared_ptr<buffer> ptr;
typedef boost::shared_ptr<buffer const> const_ptr;
size_t size() const {
return Size;
}
unsigned char &operator[](unsigned index) {
check_index(index);