From b58257925cd2af493f9576b0e7579ce5005ae4eb Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 26 Jan 2008 19:38:43 +0000 Subject: Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, since that's the way in which we are using them. --- src/gui/trade.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/trade.h') diff --git a/src/gui/trade.h b/src/gui/trade.h index cf792c19..49deb899 100644 --- a/src/gui/trade.h +++ b/src/gui/trade.h @@ -117,7 +117,7 @@ class TradeWindow : public Window, gcn::ActionListener, SelectionListener private: Network *mNetwork; - typedef std::auto_ptr InventoryPtr; + typedef const std::auto_ptr InventoryPtr; InventoryPtr mMyInventory; InventoryPtr mPartnerInventory; -- cgit v1.2.3-70-g09d2