mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
Fix build issue.
This commit is contained in:
parent
828e5d456c
commit
42d9217f00
@ -232,7 +232,7 @@ bool GetResultItems( SteamInventoryResult_t resultHandle,
|
|||||||
if (request->full_query) {
|
if (request->full_query) {
|
||||||
*punOutItemsArraySize = user_items.size();
|
*punOutItemsArraySize = user_items.size();
|
||||||
} else {
|
} else {
|
||||||
*punOutItemsArraySize = std::count_if(request->instance_ids.begin(), request->instance_ids.end(), [this](auto item_id){ return user_items.find(std::to_string(item_id)) != user_items.end();});
|
*punOutItemsArraySize = std::count_if(request->instance_ids.begin(), request->instance_ids.end(), [this](SteamItemInstanceID_t item_id){ return user_items.find(std::to_string(item_id)) != user_items.end();});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user