summaryrefslogtreecommitdiff
path: root/execserver
diff options
context:
space:
mode:
authorPyry Haulos <phaulos@google.com>2017-03-30 16:42:23 -0700
committerPyry Haulos <phaulos@google.com>2017-04-03 10:30:54 -0700
commit674ddbb09a7bb6b16f839e129d5f0f2ac6dc9e74 (patch)
tree23e571c3d72af668b2fc32f539b336325901371c /execserver
parentadde8239d7472f7475f027a198c22d0a28403400 (diff)
downloadVK-GL-CTS-674ddbb09a7bb6b16f839e129d5f0f2ac6dc9e74.tar.gz
VK-GL-CTS-674ddbb09a7bb6b16f839e129d5f0f2ac6dc9e74.tar.bz2
VK-GL-CTS-674ddbb09a7bb6b16f839e129d5f0f2ac6dc9e74.zip
Fix GCC 6.3 warnings in vulkan-cts-1.0.2
Change-Id: Iede7ed79a031ab38c0665d1a115e34d034d2b662
Diffstat (limited to 'execserver')
-rw-r--r--execserver/tools/xsClient.cpp3
-rw-r--r--execserver/tools/xsTest.cpp3
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
{