summaryrefslogtreecommitdiffstats
path: root/googletest/include
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-01-07 17:03:58 (GMT)
committerAndy Soffer <asoffer@google.com>2020-01-09 23:25:16 (GMT)
commit8417b7332210322090337d3232e39503437790f0 (patch)
tree14ba82a5b8fa6212c3a7641c2a82bdadbcf471d8 /googletest/include
parent4b9c1691c4b7f01fbd9d37d86c88cdad298d48e9 (diff)
downloadgoogletest-8417b7332210322090337d3232e39503437790f0.zip
googletest-8417b7332210322090337d3232e39503437790f0.tar.gz
googletest-8417b7332210322090337d3232e39503437790f0.tar.bz2
Googletest export
Close #2658 Mark test case destrucors as override. PiperOrigin-RevId: 288507991
Diffstat (limited to 'googletest/include')
-rw-r--r--googletest/include/gtest/internal/gtest-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h
index 41c94f4..90c962b 100644
--- a/googletest/include/gtest/internal/gtest-internal.h
+++ b/googletest/include/gtest/internal/gtest-internal.h
@@ -1405,7 +1405,7 @@ constexpr bool InstantiateTypedTestCase_P_IsDeprecated() { return true; }
: public parent_class { \
public: \
GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
- ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() = default; \
+ ~GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() override = default; \
GTEST_DISALLOW_COPY_AND_ASSIGN_(GTEST_TEST_CLASS_NAME_(test_suite_name, \
test_name)); \
GTEST_DISALLOW_MOVE_AND_ASSIGN_(GTEST_TEST_CLASS_NAME_(test_suite_name, \