Index: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
index c912d213181967541832df5dd36e6b5d6d9e21e8..cee582002da8f99f785403c7928e34af027af012 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl |
@@ -104,7 +104,7 @@ class {{class_name}}_{{method.name}}_ForwardToCallback |
const {{interface_macros.declare_callback(method)}}& callback) |
: callback_(callback) { |
} |
- virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE; |
+ virtual bool Accept(mojo::Message* message) override; |
private: |
{{interface_macros.declare_callback(method)}} callback_; |
MOJO_DISALLOW_COPY_AND_ASSIGN({{class_name}}_{{method.name}}_ForwardToCallback); |
@@ -184,7 +184,7 @@ class {{class_name}}_{{method.name}}_ProxyToResponder |
responder_(responder) { |
} |
- virtual void Run({{interface_macros.declare_params("in_", method.response_parameters)}}) const MOJO_OVERRIDE; |
+ virtual void Run({{interface_macros.declare_params("in_", method.response_parameters)}}) const override; |
private: |
uint64_t request_id_; |