mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
server: Refactor to make the event loop owned by server object
This commit is contained in:
+3
-1
@@ -44,6 +44,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
class cmConnection;
|
||||
|
||||
int cmcmd_cmake_ninja_depends(std::vector<std::string>::const_iterator argBeg,
|
||||
std::vector<std::string>::const_iterator argEnd);
|
||||
int cmcmd_cmake_ninja_dyndep(std::vector<std::string>::const_iterator argBeg,
|
||||
@@ -1013,7 +1015,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
|
||||
}
|
||||
}
|
||||
#if defined(HAVE_SERVER_MODE) && HAVE_SERVER_MODE
|
||||
cmServerConnection* conn;
|
||||
cmConnection* conn;
|
||||
if (isDebug) {
|
||||
conn = new cmServerStdIoConnection;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user