aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src
diff options
context:
space:
mode:
authorDavid Sunderland <sunderland@google.com>2018-04-18 20:25:31 -0400
committerDavid Sunderland <sunderland@google.com>2018-04-18 20:25:31 -0400
commitd5725da96894fcb93c1c3e4b87ad45372707a26b (patch)
tree898b70f60f8f2183caf807abfa9296c90f09b11c /googlemock/src
parent7878b27dddee0a62a4ba658feae0c3cd1368e983 (diff)
downloadgoogletest-d5725da96894fcb93c1c3e4b87ad45372707a26b.tar.gz
googletest-d5725da96894fcb93c1c3e4b87ad45372707a26b.tar.bz2
googletest-d5725da96894fcb93c1c3e4b87ad45372707a26b.zip
Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.
Diffstat (limited to 'googlemock/src')
-rw-r--r--googlemock/src/gmock-internal-utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc
index ce75a5f6..77caf2bc 100644
--- a/googlemock/src/gmock-internal-utils.cc
+++ b/googlemock/src/gmock-internal-utils.cc
@@ -188,7 +188,7 @@ GTEST_API_ void Log(LogSeverity severity, const std::string& message,
std::cout << ::std::flush;
}
-WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); }
+GTEST_API_ WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); }
GTEST_API_ void IllegalDoDefault(const char* file, int line) {
internal::Assert(