Fix friend declaration to use GTEST_API_ decl spec.

This commit is contained in:
David Sunderland 2018-04-19 01:11:50 -04:00
parent b2f97ab317
commit 2d3024f5bd

View File

@ -353,7 +353,7 @@ GTEST_API_ void Log(LogSeverity severity, const std::string& message,
class WithoutMatchers { class WithoutMatchers {
private: private:
WithoutMatchers() {} WithoutMatchers() {}
friend WithoutMatchers GetWithoutMatchers(); friend GTEST_API_ WithoutMatchers GetWithoutMatchers();
}; };
// Internal use only: access the singleton instance of WithoutMatchers. // Internal use only: access the singleton instance of WithoutMatchers.