Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.
This commit is contained in:
parent
7878b27ddd
commit
d5725da968
|
@ -357,7 +357,7 @@ class WithoutMatchers {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Internal use only: access the singleton instance of 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.
|
// 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;
|
std::cout << ::std::flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); }
|
GTEST_API_ WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); }
|
||||||
|
|
||||||
GTEST_API_ void IllegalDoDefault(const char* file, int line) {
|
GTEST_API_ void IllegalDoDefault(const char* file, int line) {
|
||||||
internal::Assert(
|
internal::Assert(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user