export ThreadLocalValueHolderBase which is required by exported APIs.

fixes #3944
This commit is contained in:
Andrei Polushin 2022-07-14 21:36:41 +07:00
parent bea621c3c3
commit 3655149a60

View File

@ -1710,7 +1710,7 @@ typedef GTestMutexLock MutexLock;
// C-linkage. Therefore it cannot be templatized to access
// ThreadLocal<T>. Hence the need for class
// ThreadLocalValueHolderBase.
class ThreadLocalValueHolderBase {
class GTEST_API_ ThreadLocalValueHolderBase {
public:
virtual ~ThreadLocalValueHolderBase() {}
};