Fix CI build.

This commit is contained in:
Mr_Goldberg 2020-05-26 10:18:45 -04:00
parent afc4da658c
commit dd1c6f01a0
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 2 additions and 3 deletions

View File

@ -89,12 +89,11 @@ public ISteamMatchmaking
std::vector<struct Data_Requested> data_requested;
std::map<uint64, ::google::protobuf::Map<std::string, std::string>> self_lobby_member_data;
auto caseinsensitive_find(const ::google::protobuf::Map< ::std::string, ::std::string >& map, std::string key)
google::protobuf::Map<std::string,std::string>::const_iterator caseinsensitive_find(const ::google::protobuf::Map< ::std::string, ::std::string >& map, std::string key)
{
auto x = map.begin();
while (x != map.end()) {
if (std::equal(x->first.begin(), x->first.end(),
key.begin(), key.end(),
if (key.size() == x->first.size() && std::equal(x->first.begin(), x->first.end(), key.begin(),
[](char a, char b) {
return tolower(a) == tolower(b);
})) {