Disable warning C4251 around refactored code
PiperOrigin-RevId: 455452553 Change-Id: I1dc3772ae61daf6d2d39484a0b1aad7eb0134525
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							191ca1f3a9
						
					
				
				
					commit
					86add13493
				
			@@ -46,6 +46,9 @@
 | 
				
			|||||||
#include "gtest/gtest-message.h"
 | 
					#include "gtest/gtest-message.h"
 | 
				
			||||||
#include "gtest/internal/gtest-port.h"
 | 
					#include "gtest/internal/gtest-port.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251                                   \
 | 
				
			||||||
 | 
					/* class A needs to have dll-interface to be used by clients of class B */)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace testing {
 | 
					namespace testing {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// A class for indicating whether an assertion was successful.  When
 | 
					// A class for indicating whether an assertion was successful.  When
 | 
				
			||||||
@@ -229,4 +232,6 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
}  // namespace testing
 | 
					}  // namespace testing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					GTEST_DISABLE_MSC_WARNINGS_POP_()  // 4251
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif  // GOOGLETEST_INCLUDE_GTEST_GTEST_ASSERTION_RESULT_H_
 | 
					#endif  // GOOGLETEST_INCLUDE_GTEST_GTEST_ASSERTION_RESULT_H_
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1200,6 +1200,9 @@ class GTEST_API_ AutoHandle {
 | 
				
			|||||||
// Nothing to do here.
 | 
					// Nothing to do here.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \
 | 
				
			||||||
 | 
					/* class A needs to have dll-interface to be used by clients of class B */)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Allows a controller thread to pause execution of newly created
 | 
					// Allows a controller thread to pause execution of newly created
 | 
				
			||||||
// threads until notified.  Instances of this class must be created
 | 
					// threads until notified.  Instances of this class must be created
 | 
				
			||||||
// and destroyed in the controller thread.
 | 
					// and destroyed in the controller thread.
 | 
				
			||||||
@@ -1233,6 +1236,7 @@ class GTEST_API_ Notification {
 | 
				
			|||||||
  std::condition_variable cv_;
 | 
					  std::condition_variable cv_;
 | 
				
			||||||
  bool notified_;
 | 
					  bool notified_;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					GTEST_DISABLE_MSC_WARNINGS_POP_()  // 4251
 | 
				
			||||||
#endif  // GTEST_HAS_NOTIFICATION_
 | 
					#endif  // GTEST_HAS_NOTIFICATION_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// On MinGW, we can have both GTEST_OS_WINDOWS and GTEST_HAS_PTHREAD
 | 
					// On MinGW, we can have both GTEST_OS_WINDOWS and GTEST_HAS_PTHREAD
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user