summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/unittest/googletest/src/gtest-port.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/unittest/googletest/src/gtest-port.cc b/utils/unittest/googletest/src/gtest-port.cc
index 382985e..0719b0c 100644
--- a/utils/unittest/googletest/src/gtest-port.cc
+++ b/utils/unittest/googletest/src/gtest-port.cc
@@ -746,8 +746,10 @@ const char* StringFromGTestEnv(const char* flag, const char* default_value) {
return value == NULL ? default_value : value;
}
+#if GTEST_HAS_PTHREAD
ThreadWithParamBase::~ThreadWithParamBase() {}
ThreadLocalValueHolderBase::~ThreadLocalValueHolderBase() {}
+#endif
TestFactoryBase::~TestFactoryBase() {}
} // namespace internal