Enable heterogeneous lookup for RegisteredTestsMap.

PiperOrigin-RevId: 459529190
Change-Id: I6b29693000023b3562990742f27a98cc279b6452
This commit is contained in:
Chris Kennelly 2022-07-07 09:18:16 -07:00 committed by Copybara-Service
parent 4219e7254c
commit e009c3d3dc

View File

@ -57,6 +57,7 @@
#include <string.h>
#include <cstdint>
#include <functional>
#include <iomanip>
#include <limits>
#include <map>
@ -631,7 +632,7 @@ class GTEST_API_ TypedTestSuitePState {
const char* registered_tests);
private:
typedef ::std::map<std::string, CodeLocation> RegisteredTestsMap;
typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
bool registered_;
RegisteredTestsMap registered_tests_;