Commit 91e1bd6b by Derek Mauro

Merge pull request #3421 from florin-crisan:bugfix/3420-dll-link-failure

PiperOrigin-RevId: 377367006
parents 9d698f69 26a1569c
...@@ -501,18 +501,18 @@ inline void PrintTo(unsigned char* s, ::std::ostream* os) { ...@@ -501,18 +501,18 @@ inline void PrintTo(unsigned char* s, ::std::ostream* os) {
} }
#ifdef __cpp_char8_t #ifdef __cpp_char8_t
// Overloads for u8 strings. // Overloads for u8 strings.
void PrintTo(const char8_t* s, ::std::ostream* os); GTEST_API_ void PrintTo(const char8_t* s, ::std::ostream* os);
inline void PrintTo(char8_t* s, ::std::ostream* os) { inline void PrintTo(char8_t* s, ::std::ostream* os) {
PrintTo(ImplicitCast_<const char8_t*>(s), os); PrintTo(ImplicitCast_<const char8_t*>(s), os);
} }
#endif #endif
// Overloads for u16 strings. // Overloads for u16 strings.
void PrintTo(const char16_t* s, ::std::ostream* os); GTEST_API_ void PrintTo(const char16_t* s, ::std::ostream* os);
inline void PrintTo(char16_t* s, ::std::ostream* os) { inline void PrintTo(char16_t* s, ::std::ostream* os) {
PrintTo(ImplicitCast_<const char16_t*>(s), os); PrintTo(ImplicitCast_<const char16_t*>(s), os);
} }
// Overloads for u32 strings. // Overloads for u32 strings.
void PrintTo(const char32_t* s, ::std::ostream* os); GTEST_API_ void PrintTo(const char32_t* s, ::std::ostream* os);
inline void PrintTo(char32_t* s, ::std::ostream* os) { inline void PrintTo(char32_t* s, ::std::ostream* os) {
PrintTo(ImplicitCast_<const char32_t*>(s), os); PrintTo(ImplicitCast_<const char32_t*>(s), os);
} }
......
...@@ -478,7 +478,7 @@ class ParameterizedTestSuiteInfoBase { ...@@ -478,7 +478,7 @@ class ParameterizedTestSuiteInfoBase {
// //
// Report a the name of a test_suit as safe to ignore // Report a the name of a test_suit as safe to ignore
// as the side effect of construction of this type. // as the side effect of construction of this type.
struct MarkAsIgnored { struct GTEST_API_ MarkAsIgnored {
explicit MarkAsIgnored(const char* test_suite); explicit MarkAsIgnored(const char* test_suite);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment