summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Barolak <mbar@google.com>2020-07-31 18:51:45 (GMT)
committerMark Barolak <mbar@google.com>2020-07-31 18:51:45 (GMT)
commite6e2d3b7614ff4e6017d8968bd4c3f579133666e (patch)
treefb0495e346dd9f717be4e05fe45a3086b6cf283f
parente61125f0532b5035e88299192194604fa0015edc (diff)
parent7bde252cb74d84b969a0242368e2116d49c84bb7 (diff)
downloadgoogletest-e6e2d3b7614ff4e6017d8968bd4c3f579133666e.zip
googletest-e6e2d3b7614ff4e6017d8968bd4c3f579133666e.tar.gz
googletest-e6e2d3b7614ff4e6017d8968bd4c3f579133666e.tar.bz2
Merge pull request #2952 from jasjuang:master
PiperOrigin-RevId: 324016198
-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 d09ac0a..288ff93 100644
--- a/googletest/include/gtest/internal/gtest-internal.h
+++ b/googletest/include/gtest/internal/gtest-internal.h
@@ -1458,7 +1458,7 @@ class NeverThrown {
class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
: 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)); \