diff options
author | Justin Berger <j.david.berger@gmail.com> | 2017-07-23 18:31:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-29 21:36:31 (GMT) |
commit | 1e9b7d3ceb882d3feb59324b6e55d40cc795576b (patch) | |
tree | f1b9dbb8189f8b26ca99cc6ce91e76ccfab44009 /Source/cmServerConnection.h | |
parent | f43b9219c738944fea33043b1985696c862c84ac (diff) | |
download | CMake-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.h | 6 |
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; }; /*** |