Clean-ups
[invirt/third/libt4.git] / rpc / rpc.h
index f1eb3bc..df5d89e 100644 (file)
--- a/rpc/rpc.h
+++ b/rpc/rpc.h
@@ -2,11 +2,9 @@
 #define rpc_h
 
 #include "types.h"
-#include <sys/socket.h>
-#include <netinet/in.h>
 
 #include "rpc_protocol.h"
-#include "thr_pool.h"
+#include "thread_pool.h"
 #include "marshall.h"
 #include "marshall_wrap.h"
 #include "connection.h"
@@ -203,7 +201,7 @@ class rpcs : private connection_delegate {
 
         void dispatch(shared_ptr<connection> c, const string & buf);
 
-        unique_ptr<thread_pool> dispatchpool_{new thread_pool(6, false)};
+        unique_ptr<thread_pool> dispatchpool_{new thread_pool(6)};
         unique_ptr<connection_listener> listener_;
 
         // RPC handler for clients binding