diff options
Diffstat (limited to 'execserver')
-rw-r--r-- | execserver/tools/xsClient.cpp | 3 | ||||
-rw-r--r-- | execserver/tools/xsTest.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/execserver/tools/xsClient.cpp b/execserver/tools/xsClient.cpp index e680fc9a6..49987b7aa 100644 --- a/execserver/tools/xsClient.cpp +++ b/execserver/tools/xsClient.cpp @@ -24,6 +24,7 @@ #include "xsDefs.hpp" #include "xsProtocol.hpp" #include "deSocket.hpp" +#include "deUniquePtr.hpp" #include "deString.h" @@ -39,7 +40,7 @@ using std::vector; namespace xs { -typedef std::auto_ptr<Message> ScopedMsgPtr; +typedef de::UniquePtr<Message> ScopedMsgPtr; class SocketError : public Error { diff --git a/execserver/tools/xsTest.cpp b/execserver/tools/xsTest.cpp index 5e47377c3..44483dc0c 100644 --- a/execserver/tools/xsTest.cpp +++ b/execserver/tools/xsTest.cpp @@ -30,6 +30,7 @@ #include "deBlockBuffer.hpp" #include "deThread.hpp" #include "deStringUtil.hpp" +#include "deUniquePtr.hpp" #include "deClock.h" #include "deProcess.h" @@ -45,7 +46,7 @@ using std::vector; namespace xs { -typedef std::auto_ptr<Message> ScopedMsgPtr; +typedef de::UniquePtr<Message> ScopedMsgPtr; class SocketError : public Error { |