Index: url/url_canon.h |
diff --git a/url/url_canon.h b/url/url_canon.h |
index 3b9f906c700773b113684082aa9a6b8cd05fdfbe..89e3509091c2424726c1a24f575d8672f85ff88f 100644 |
--- a/url/url_canon.h |
+++ b/url/url_canon.h |
@@ -154,7 +154,7 @@ class RawCanonOutputT : public CanonOutputT<T> { |
delete[] this->buffer_; |
} |
- virtual void Resize(int sz) { |
+ void Resize(int sz) override { |
T* new_buf = new T[sz]; |
memcpy(new_buf, this->buffer_, |
sizeof(T) * (this->cur_len_ < sz ? this->cur_len_ : sz)); |