summaryrefslogtreecommitdiff
path: root/third_party/googletest/src/include/gtest/gtest-spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/googletest/src/include/gtest/gtest-spi.h')
-rw-r--r--third_party/googletest/src/include/gtest/gtest-spi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/googletest/src/include/gtest/gtest-spi.h b/third_party/googletest/src/include/gtest/gtest-spi.h
index 1e8983938..aa38870e8 100644
--- a/third_party/googletest/src/include/gtest/gtest-spi.h
+++ b/third_party/googletest/src/include/gtest/gtest-spi.h
@@ -72,14 +72,15 @@ class GTEST_API_ ScopedFakeTestPartResultReporter
TestPartResultArray* result);
// The d'tor restores the previous test part result reporter.
- virtual ~ScopedFakeTestPartResultReporter();
+ ~ScopedFakeTestPartResultReporter() override;
// Appends the TestPartResult object to the TestPartResultArray
// received in the constructor.
//
// This method is from the TestPartResultReporterInterface
// interface.
- virtual void ReportTestPartResult(const TestPartResult& result);
+ void ReportTestPartResult(const TestPartResult& result) override;
+
private:
void Init();