summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sunderland <sunderland@google.com>2018-04-19 05:11:50 (GMT)
committerDavid Sunderland <sunderland@google.com>2018-04-19 05:11:50 (GMT)
commit2d3024f5bdc40aa0dfa764e924becfbbb096a795 (patch)
tree7a704cf8e517da7e41ad2053477d6c760614291c
parentb2f97ab3179fbc435fb0f98eae793fe84476c7b8 (diff)
downloadgoogletest-2d3024f5bdc40aa0dfa764e924becfbbb096a795.zip
googletest-2d3024f5bdc40aa0dfa764e924becfbbb096a795.tar.gz
googletest-2d3024f5bdc40aa0dfa764e924becfbbb096a795.tar.bz2
Fix friend declaration to use GTEST_API_ decl spec.
-rw-r--r--googlemock/include/gmock/internal/gmock-internal-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h
index 3e858e7..4751788 100644
--- a/googlemock/include/gmock/internal/gmock-internal-utils.h
+++ b/googlemock/include/gmock/internal/gmock-internal-utils.h
@@ -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.