Fixed typo because of merging

inventory_pr
Nemirtingas 2019-06-25 15:53:00 +02:00
parent bbf6a3b6ff
commit 5f67d359b3
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,6 @@ class Steam_Inventory :
std::vector<struct Steam_Inventory_Requests> inventory_requests; std::vector<struct Steam_Inventory_Requests> inventory_requests;
struct Steam_Inventory_Requests *new_inventory_result(const SteamItemInstanceID_t *pInstanceIDs=NULL, uint32 unCountInstanceIDs=0)
std::map<SteamItemDef_t, std::map<std::string, std::string>> items; std::map<SteamItemDef_t, std::map<std::string, std::string>> items;
// Like typedefs // Like typedefs
using item_iterator = std::map<SteamItemDef_t, std::map<std::string, std::string>>::iterator; using item_iterator = std::map<SteamItemDef_t, std::map<std::string, std::string>>::iterator;
@ -58,6 +57,7 @@ struct Steam_Inventory_Requests *new_inventory_result(const SteamItemInstanceID_
// Or find a server somewhere to hold the data for us then cache on local settings. // Or find a server somewhere to hold the data for us then cache on local settings.
bool need_load_definitions = true; bool need_load_definitions = true;
struct Steam_Inventory_Requests* new_inventory_result(const SteamItemInstanceID_t* pInstanceIDs = NULL, uint32 unCountInstanceIDs = 0)
{ {
static SteamInventoryResult_t result; static SteamInventoryResult_t result;
++result; ++result;
@ -86,7 +86,7 @@ struct Steam_Inventory_Requests *get_inventory_result(SteamInventoryResult_t res
public: public:
Steam_Inventory(class Settings *settings, class SteamCallResults *callback_results, class SteamCallBacks *callbacks) Steam_Inventory(class Settings *settings, class SteamCallResults *callback_results, class SteamCallBacks *callbacks):
items(read_items_db(Local_Storage::get_program_path() + PATH_SEPARATOR + "steam_items.json")) items(read_items_db(Local_Storage::get_program_path() + PATH_SEPARATOR + "steam_items.json"))
{ {
this->settings = settings; this->settings = settings;