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 b490cb0400
commit 5fd3984f10

View File

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