mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 17:30:09 +08:00
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:
parent
a327c86a52
commit
c958c16491
@ -45,7 +45,7 @@ class MockFileReader : public FileReaderInterface {
|
|||||||
MOCK_METHOD2(ReadInt, FileOperationResult(uintptr_t, size_t));
|
MOCK_METHOD2(ReadInt, FileOperationResult(uintptr_t, size_t));
|
||||||
|
|
||||||
// FileReaderInterface:
|
// FileReaderInterface:
|
||||||
FileOperationResult Read(void* data, size_t size) {
|
FileOperationResult Read(void* data, size_t size) override {
|
||||||
return ReadInt(reinterpret_cast<uintptr_t>(data), size);
|
return ReadInt(reinterpret_cast<uintptr_t>(data), size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user