Enable heterogeneous lookup for RegisteredTestsMap.
PiperOrigin-RevId: 459529190 Change-Id: I6b29693000023b3562990742f27a98cc279b6452
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							4219e7254c
						
					
				
				
					commit
					e009c3d3dc
				
			@@ -57,6 +57,7 @@
 | 
				
			|||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <cstdint>
 | 
					#include <cstdint>
 | 
				
			||||||
 | 
					#include <functional>
 | 
				
			||||||
#include <iomanip>
 | 
					#include <iomanip>
 | 
				
			||||||
#include <limits>
 | 
					#include <limits>
 | 
				
			||||||
#include <map>
 | 
					#include <map>
 | 
				
			||||||
@@ -631,7 +632,7 @@ class GTEST_API_ TypedTestSuitePState {
 | 
				
			|||||||
                                        const char* registered_tests);
 | 
					                                        const char* registered_tests);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 private:
 | 
					 private:
 | 
				
			||||||
  typedef ::std::map<std::string, CodeLocation> RegisteredTestsMap;
 | 
					  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bool registered_;
 | 
					  bool registered_;
 | 
				
			||||||
  RegisteredTestsMap registered_tests_;
 | 
					  RegisteredTestsMap registered_tests_;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user