gtest-death-test.cc: Move ~DeathTestFactory() to unbreak cygming build since r194865.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 16 Nov 2013 05:26:49 +0000 (05:26 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 16 Nov 2013 05:26:49 +0000 (05:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194918 91177308-0d34-0410-b5e6-96231b3b80d8

utils/unittest/googletest/src/gtest-death-test.cc

index b66325e2b6216e0d10bac9ee27793ab07bd5ab9c..b9693d3a0512004188970ee479c94d311ce67c2f 100644 (file)
@@ -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