summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/src
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-11-16 05:26:49 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-11-16 05:26:49 +0000
commitf8d6c690c5641560c8a0caf218554a5c77c091c5 (patch)
tree5fba805cb8b9d26801971ab78a37b40329b6dbd0 /llvm/utils/unittest/googletest/src
parent23662907fc53429e04bd95b89b33aced0ac25143 (diff)
downloadbcm5719-llvm-f8d6c690c5641560c8a0caf218554a5c77c091c5.tar.gz
bcm5719-llvm-f8d6c690c5641560c8a0caf218554a5c77c091c5.zip
gtest-death-test.cc: Move ~DeathTestFactory() to unbreak cygming build since r194865.
llvm-svn: 194918
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