[llvm] r194918 - gtest-death-test.cc: Move ~DeathTestFactory() to unbreak cygming build since r194865.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Nov 15 21:26:50 PST 2013
Author: chapuni
Date: Fri Nov 15 23:26:49 2013
New Revision: 194918
URL: http://llvm.org/viewvc/llvm-project?rev=194918&view=rev
Log:
gtest-death-test.cc: Move ~DeathTestFactory() to unbreak cygming build since r194865.
Modified:
llvm/trunk/utils/unittest/googletest/src/gtest-death-test.cc
Modified: llvm/trunk/utils/unittest/googletest/src/gtest-death-test.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/src/gtest-death-test.cc?rev=194918&r1=194917&r2=194918&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/src/gtest-death-test.cc (original)
+++ llvm/trunk/utils/unittest/googletest/src/gtest-death-test.cc Fri Nov 15 23:26:49 2013
@@ -735,8 +735,6 @@ DeathTest::TestRole WindowsDeathTest::As
}
# 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::Assum
# 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
More information about the llvm-commits
mailing list