refactor: unglob std::wstring
This commit is contained in:
@@ -428,7 +428,7 @@ void Inventory::setItem(unsigned int slot, std::shared_ptr<ItemInstance> item)
|
||||
#ifdef _DEBUG
|
||||
if(item!=NULL)
|
||||
{
|
||||
wstring itemstring=item->toString();
|
||||
std::wstring itemstring=item->toString();
|
||||
app.DebugPrintf("Inventory::setItem - slot = %d,\t item = %d ",slot,item->id);
|
||||
//OutputDebugStringW(itemstring.c_str());
|
||||
app.DebugPrintf("\n");
|
||||
|
||||
@@ -392,7 +392,7 @@ std::shared_ptr<ItemInstance> RepairMenu::quickMoveStack(std::shared_ptr<Player>
|
||||
return clicked;
|
||||
}
|
||||
|
||||
void RepairMenu::setItemName(const wstring &name)
|
||||
void RepairMenu::setItemName(const std::wstring &name)
|
||||
{
|
||||
this->itemName = name;
|
||||
if (getSlot(RESULT_SLOT)->hasItem())
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
|
||||
private:
|
||||
int repairItemCountCost;
|
||||
wstring itemName;
|
||||
std::wstring itemName;
|
||||
std::shared_ptr<Player> player;
|
||||
|
||||
public:
|
||||
@@ -51,5 +51,5 @@ public:
|
||||
void removed(std::shared_ptr<Player> player);
|
||||
bool stillValid(std::shared_ptr<Player> player);
|
||||
std::shared_ptr<ItemInstance> quickMoveStack(std::shared_ptr<Player> player, int slotIndex);
|
||||
void setItemName(const wstring &name);
|
||||
void setItemName(const std::wstring &name);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user