mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 22:35:40 +08:00
Fix CI build.
This commit is contained in:
parent
afc4da658c
commit
dd1c6f01a0
@ -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 New Issue
Block a user