mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Fix CI build.
This commit is contained in:
parent
afc4da658c
commit
dd1c6f01a0
1 changed files with 2 additions and 3 deletions
|
@ -89,12 +89,11 @@ public ISteamMatchmaking
|
||||||
std::vector<struct Data_Requested> data_requested;
|
std::vector<struct Data_Requested> data_requested;
|
||||||
|
|
||||||
std::map<uint64, ::google::protobuf::Map<std::string, std::string>> self_lobby_member_data;
|
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();
|
auto x = map.begin();
|
||||||
while (x != map.end()) {
|
while (x != map.end()) {
|
||||||
if (std::equal(x->first.begin(), x->first.end(),
|
if (key.size() == x->first.size() && std::equal(x->first.begin(), x->first.end(), key.begin(),
|
||||||
key.begin(), key.end(),
|
|
||||||
[](char a, char b) {
|
[](char a, char b) {
|
||||||
return tolower(a) == tolower(b);
|
return tolower(a) == tolower(b);
|
||||||
})) {
|
})) {
|
||||||
|
|
Loading…
Reference in a new issue