Index: mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
index c64ee9a387551d72c69ad5550ccad3c5de043030..2385772b971dfa3175b77fc23592e7225be44346 100644 |
--- a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
@@ -255,8 +255,7 @@ void DumpHex(const uint8_t* bytes, uint32_t num_bytes) { |
class ServiceImpl : public Service { |
public: |
- virtual void Frobinate(FooPtr foo, BazOptions baz, PortPtr port) |
- MOJO_OVERRIDE { |
+ virtual void Frobinate(FooPtr foo, BazOptions baz, PortPtr port) override { |
// Users code goes here to handle the incoming Frobinate message. |
// We mainly check that we're given the expected arguments. |
@@ -275,9 +274,7 @@ class ServiceImpl : public Service { |
} |
} |
- virtual void GetPort(mojo::InterfaceRequest<Port> port_request) |
- MOJO_OVERRIDE { |
- } |
+ virtual void GetPort(mojo::InterfaceRequest<Port> port_request) override {} |
}; |
class ServiceProxyImpl : public ServiceProxy { |
@@ -289,7 +286,7 @@ class ServiceProxyImpl : public ServiceProxy { |
class SimpleMessageReceiver : public mojo::MessageReceiverWithResponder { |
public: |
- virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE { |
+ virtual bool Accept(mojo::Message* message) override { |
// Imagine some IPC happened here. |
if (g_dump_message_as_hex) { |
@@ -307,8 +304,7 @@ class SimpleMessageReceiver : public mojo::MessageReceiverWithResponder { |
} |
virtual bool AcceptWithResponder(mojo::Message* message, |
- mojo::MessageReceiver* responder) |
- MOJO_OVERRIDE { |
+ mojo::MessageReceiver* responder) override { |
return false; |
} |
}; |