summaryrefslogtreecommitdiffstats
path: root/url/url_canon_stdstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'url/url_canon_stdstring.h')
-rw-r--r--url/url_canon_stdstring.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/url/url_canon_stdstring.h b/url/url_canon_stdstring.h
index 7450f15..9b4a6c2 100644
--- a/url/url_canon_stdstring.h
+++ b/url/url_canon_stdstring.h
@@ -11,6 +11,7 @@
#include <string>
+#include "base/compiler_specific.h"
#include "url/url_canon.h"
namespace url_canon {
@@ -51,7 +52,7 @@ class StdStringCanonOutput : public CanonOutput {
buffer_len_ = cur_len_;
}
- virtual void Resize(int sz) {
+ virtual void Resize(int sz) OVERRIDE {
str_->resize(sz);
buffer_ = str_->empty() ? NULL : &(*str_)[0];
buffer_len_ = sz;