Index: mojo/public/cpp/bindings/lib/fixed_buffer.h |
diff --git a/mojo/public/cpp/bindings/lib/fixed_buffer.h b/mojo/public/cpp/bindings/lib/fixed_buffer.h |
index d23f6644c45acf2eb6d5353e2292004b1bce8807..c6cf34ef2df7b28cd60cd4f9e0a027334dbb0892 100644 |
--- a/mojo/public/cpp/bindings/lib/fixed_buffer.h |
+++ b/mojo/public/cpp/bindings/lib/fixed_buffer.h |
@@ -38,12 +38,12 @@ namespace internal { |
class FixedBuffer : public Buffer { |
public: |
explicit FixedBuffer(size_t size); |
- virtual ~FixedBuffer(); |
+ ~FixedBuffer() override; |
// Grows the buffer by |num_bytes| and returns a pointer to the start of the |
// addition. The resulting address is 8-byte aligned, and the content of the |
// memory is zero-filled. |
- virtual void* Allocate(size_t num_bytes) override; |
+ void* Allocate(size_t num_bytes) override; |
size_t size() const { return size_; } |