Commit d5725da9 authored by David Sunderland's avatar David Sunderland
Browse files

Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.

parent 7878b27d
......@@ -357,7 +357,7 @@ class WithoutMatchers {
};
// Internal use only: access the singleton instance of WithoutMatchers.
WithoutMatchers GetWithoutMatchers();
GTEST_API_ WithoutMatchers GetWithoutMatchers();
// TODO(wan@google.com): group all type utilities together.
......
......@@ -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(
......
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