diff options
author | Piotr Paczkowski (trzeci.eu) <kontakt@trzeci.eu> | 2019-12-20 08:45:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 08:45:28 (GMT) |
commit | cc05a3ca014bdc25eaf987672004b36fa1ceeb36 (patch) | |
tree | c806b658c50143b5bb2cb7af9181d8fb2e10f5d3 /googletest | |
parent | 05701fee2896329009cb040496bd0d6714c9a78b (diff) | |
download | googletest-cc05a3ca014bdc25eaf987672004b36fa1ceeb36.zip googletest-cc05a3ca014bdc25eaf987672004b36fa1ceeb36.tar.gz googletest-cc05a3ca014bdc25eaf987672004b36fa1ceeb36.tar.bz2 |
Define default destructor for test classes
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/include/gtest/internal/gtest-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index ce081aa..ff2ff4b 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -1389,6 +1389,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_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, \ |