diff options
Diffstat (limited to 'dexlayout/dex_container.h')
-rw-r--r-- | dexlayout/dex_container.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dexlayout/dex_container.h b/dexlayout/dex_container.h index 2b9a5f9959..2d742b0dbe 100644 --- a/dexlayout/dex_container.h +++ b/dexlayout/dex_container.h @@ -57,19 +57,19 @@ class DexContainer { public: virtual ~VectorSection() {} - uint8_t* Begin() OVERRIDE { + uint8_t* Begin() override { return &data_[0]; } - size_t Size() const OVERRIDE { + size_t Size() const override { return data_.size(); } - void Resize(size_t size) OVERRIDE { + void Resize(size_t size) override { data_.resize(size, 0u); } - void Clear() OVERRIDE { + void Clear() override { data_.clear(); } |