summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-18 14:59:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-18 14:59:13 +0300
commit21fbfa417e0ab5fee402e9c97b5220dc713c0a53 (patch)
treed38f7e92bf5c9b4a2f939e3eccfc70ce3fcfcf32 /src/gui/windows/tradewindow.h
parent64309d7a7dc6380d62fa11363073d4243cbfa665 (diff)
downloadmanaplus-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.gz
manaplus-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.bz2
manaplus-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.xz
manaplus-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.zip
Remove auto_ptr from trade window.
Diffstat (limited to 'src/gui/windows/tradewindow.h')
-rw-r--r--src/gui/windows/tradewindow.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/windows/tradewindow.h b/src/gui/windows/tradewindow.h
index f5b17eddd..1abe4a91f 100644
--- a/src/gui/windows/tradewindow.h
+++ b/src/gui/windows/tradewindow.h
@@ -174,9 +174,8 @@ class TradeWindow final : public Window,
*/
void setStatus(const Status s);
- typedef const std::auto_ptr<Inventory> InventoryPtr;
- InventoryPtr mMyInventory;
- InventoryPtr mPartnerInventory;
+ Inventory *mMyInventory;
+ Inventory *mPartnerInventory;
ItemContainer *mMyItemContainer;
ItemContainer *mPartnerItemContainer;