Suppress std::string DLL interface warning introduced in commit f063cd25c9

Fixes #4171

PiperOrigin-RevId: 514777144
Change-Id: I6f4b309c407684522fc1bc94dcc980ea1fe09cd9
This commit is contained in:
Abseil Team 2023-03-07 10:39:52 -08:00 committed by Copybara-Service
parent 1a727c27aa
commit cf4f4400db

View File

@ -960,6 +960,8 @@ class GTEST_API_ RE {
};
#elif defined(GTEST_USES_POSIX_RE) || defined(GTEST_USES_SIMPLE_RE)
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \
/* class A needs to have dll-interface to be used by clients of class B */)
// A simple C++ wrapper for <regex.h>. It uses the POSIX Extended
// Regular Expression syntax.
@ -1008,7 +1010,7 @@ class GTEST_API_ RE {
#endif
};
GTEST_DISABLE_MSC_WARNINGS_POP_() // 4251
#endif // ::testing::internal::RE implementation
// Formats a source file path and a line number as they would appear