From c958c164915bed8bd63e8d20286c9f5e19a2def6 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Thu, 12 Oct 2017 20:31:36 -0700 Subject: [PATCH] Declare overriding method with override Change-Id: I49407ecac4ae5956fdf6a7f845b0e7f3649dc75c Reviewed-on: https://chromium-review.googlesource.com/717546 Reviewed-by: Mark Mentovai Commit-Queue: Joshua Peraza --- util/file/file_reader_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/file/file_reader_test.cc b/util/file/file_reader_test.cc index 7c168bb0..ed6ee86a 100644 --- a/util/file/file_reader_test.cc +++ b/util/file/file_reader_test.cc @@ -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(data), size); }