make _size const

This commit is contained in:
Seth Alves 2017-05-11 13:36:05 -07:00
parent 19401af3e1
commit a26f9c7887

View file

@ -45,7 +45,7 @@ namespace storage {
uint8_t* data() { return _data.data(); }
uint8_t* mutableData() override { return _data.data(); }
size_t _size { 0 };
const size_t _size;
size_t size() const override { return _size; }
operator bool() const override { return true; }
private: