mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
make _size const
This commit is contained in:
parent
19401af3e1
commit
a26f9c7887
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue