summaryrefslogtreecommitdiff
path: root/src/net/manaserv/messagehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/messagehandler.h')
-rw-r--r--src/net/manaserv/messagehandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/messagehandler.h b/src/net/manaserv/messagehandler.h
index 6e0221cb..8949d34e 100644
--- a/src/net/manaserv/messagehandler.h
+++ b/src/net/manaserv/messagehandler.h
@@ -41,7 +41,7 @@ class MessageHandler : public Net::MessageHandler
virtual void handleMessage(MessageIn &msg) = 0;
};
-typedef const std::auto_ptr<MessageHandler> MessageHandlerPtr;
+typedef const std::unique_ptr<MessageHandler> MessageHandlerPtr;
} // namespace ManaServ