summaryrefslogtreecommitdiffstats
path: root/Source/cmServerConnection.h
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2017-07-23 18:31:13 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-29 21:36:31 (GMT)
commit1e9b7d3ceb882d3feb59324b6e55d40cc795576b (patch)
treef1b9dbb8189f8b26ca99cc6ce91e76ccfab44009 /Source/cmServerConnection.h
parentf43b9219c738944fea33043b1985696c862c84ac (diff)
downloadCMake-1e9b7d3ceb882d3feb59324b6e55d40cc795576b.zip
CMake-1e9b7d3ceb882d3feb59324b6e55d40cc795576b.tar.gz
CMake-1e9b7d3ceb882d3feb59324b6e55d40cc795576b.tar.bz2
server: Switched to a auto model for handles
Diffstat (limited to 'Source/cmServerConnection.h')
-rw-r--r--Source/cmServerConnection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmServerConnection.h b/Source/cmServerConnection.h
index 4ca908d..a70edb4 100644
--- a/Source/cmServerConnection.h
+++ b/Source/cmServerConnection.h
@@ -8,7 +8,7 @@
#include "cmConnection.h"
#include "cmPipeConnection.h"
-#include "cm_uv.h"
+#include "cmUVHandlePtr.h"
class cmServerBase;
@@ -46,8 +46,8 @@ public:
bool OnServeStart(std::string* pString) override;
private:
- void SetupStream(uv_stream_t*& stream, int file_id);
- void ShutdownStream(uv_stream_t*& stream);
+ cm::uv_stream_ptr SetupStream(int file_id);
+ cm::uv_stream_ptr ReadStream;
};
/***