Fix build issue.

merge-requests/24/head
Mr_Goldberg 2019-10-19 12:06:39 -04:00
parent 828e5d456c
commit 42d9217f00
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ bool GetResultItems( SteamInventoryResult_t resultHandle,
if (request->full_query) {
*punOutItemsArraySize = user_items.size();
} 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();});
}
}