Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.
This commit is contained in:
		@@ -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(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user