Declare overriding method with override

Change-Id: I49407ecac4ae5956fdf6a7f845b0e7f3649dc75c
Reviewed-on: https://chromium-review.googlesource.com/717546
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Joshua Peraza 2017-10-12 20:31:36 -07:00 committed by Commit Bot
parent a327c86a52
commit c958c16491

View File

@ -45,7 +45,7 @@ class MockFileReader : public FileReaderInterface {
MOCK_METHOD2(ReadInt, FileOperationResult(uintptr_t, size_t));
// FileReaderInterface:
FileOperationResult Read(void* data, size_t size) {
FileOperationResult Read(void* data, size_t size) override {
return ReadInt(reinterpret_cast<uintptr_t>(data), size);
}