summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-death-test_ex_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test/googletest-death-test_ex_test.cc')
-rw-r--r--googletest/test/googletest-death-test_ex_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-death-test_ex_test.cc b/googletest/test/googletest-death-test_ex_test.cc
index b8b9470..cf0d970 100644
--- a/googletest/test/googletest-death-test_ex_test.cc
+++ b/googletest/test/googletest-death-test_ex_test.cc
@@ -59,7 +59,7 @@ TEST(CxxExceptionDeathTest, ExceptionIsFailure) {
class TestException : public std::exception {
public:
- virtual const char* what() const throw() { return "exceptional message"; }
+ const char* what() const throw() override { return "exceptional message"; }
};
TEST(CxxExceptionDeathTest, PrintsMessageForStdExceptions) {