diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-01-26 19:38:43 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-01-26 19:38:43 +0000 |
commit | b58257925cd2af493f9576b0e7579ce5005ae4eb (patch) | |
tree | 53fc94f82b3aee4384652ab50400c4bb044780ef /src/game.h | |
parent | 662560fe671a54023acb03d4c80dffbf039d2e16 (diff) | |
download | mana-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.gz mana-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.bz2 mana-b58257925cd2af493f9576b0e7579ce5005ae4eb.tar.xz mana-b58257925cd2af493f9576b0e7579ce5005ae4eb.zip |
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.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ class Game : public ConfigListener /** The minimum frame time (used for frame limiting). */ int mMinFrameTime; - typedef std::auto_ptr<MessageHandler> MessageHandlerPtr; + typedef const std::auto_ptr<MessageHandler> MessageHandlerPtr; MessageHandlerPtr mBeingHandler; MessageHandlerPtr mBuySellHandler; MessageHandlerPtr mChatHandler; |