summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/src
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/unittest/googletest/src')
-rw-r--r--llvm/utils/unittest/googletest/src/gtest-death-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/unittest/googletest/src/gtest-death-test.cc b/llvm/utils/unittest/googletest/src/gtest-death-test.cc
index b66325e2b62..b9693d3a051 100644
--- a/llvm/utils/unittest/googletest/src/gtest-death-test.cc
+++ b/llvm/utils/unittest/googletest/src/gtest-death-test.cc
@@ -735,8 +735,6 @@ DeathTest::TestRole WindowsDeathTest::AssumeRole() {
}
# else // We are not on Windows.
-DeathTestFactory::~DeathTestFactory() {}
-
// ForkingDeathTest provides implementations for most of the abstract
// methods of the DeathTest interface. Only the AssumeRole method is
// left undefined.
@@ -1039,6 +1037,8 @@ DeathTest::TestRole ExecDeathTest::AssumeRole() {
# endif // !GTEST_OS_WINDOWS
+DeathTestFactory::~DeathTestFactory() {}
+
// Creates a concrete DeathTest-derived class that depends on the
// --gtest_death_test_style flag, and sets the pointer pointed to
// by the "test" argument to its address. If the test should be
OpenPOWER on IntegriCloud