diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-18 14:59:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-18 14:59:13 +0300 |
commit | 21fbfa417e0ab5fee402e9c97b5220dc713c0a53 (patch) | |
tree | d38f7e92bf5c9b4a2f939e3eccfc70ce3fcfcf32 /src/gui/windows/tradewindow.h | |
parent | 64309d7a7dc6380d62fa11363073d4243cbfa665 (diff) | |
download | manaverse-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.gz manaverse-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.bz2 manaverse-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.tar.xz manaverse-21fbfa417e0ab5fee402e9c97b5220dc713c0a53.zip |
Remove auto_ptr from trade window.
Diffstat (limited to 'src/gui/windows/tradewindow.h')
-rw-r--r-- | src/gui/windows/tradewindow.h | 5 |
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; |