From 42d9217f00d4c152ca5d0359b6be559202e7ec8a Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sat, 19 Oct 2019 12:06:39 -0400 Subject: [PATCH] Fix build issue. --- dll/steam_inventory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/steam_inventory.h b/dll/steam_inventory.h index de0a9bc..895e49b 100644 --- a/dll/steam_inventory.h +++ b/dll/steam_inventory.h @@ -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();}); } }