From 6ba59f836a7d4c48529e39e444898fba87d0b1c3 Mon Sep 17 00:00:00 2001 From: "ssf.developer" Date: Sun, 4 Sep 2016 23:46:13 +0200 Subject: [PATCH] #20 Fix linux compilation issue --- src/common/config/services.cpp | 4 ++-- src/services/copy_file/file_enquirer/file_enquirer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/config/services.cpp b/src/common/config/services.cpp index 74c713df..725d2dd3 100644 --- a/src/common/config/services.cpp +++ b/src/common/config/services.cpp @@ -9,8 +9,8 @@ Services::Services() : datagram_forwarder_(), datagram_listener_(), file_copy_(), - socks_(), shell_(), + socks_(), stream_forwarder_(), stream_listener_() {} @@ -18,8 +18,8 @@ Services::Services(const Services& services) : datagram_forwarder_(services.datagram_forwarder_), datagram_listener_(services.datagram_listener_), file_copy_(services.file_copy_), - socks_(services.socks_), shell_(services.shell_), + socks_(services.socks_), stream_forwarder_(services.stream_forwarder_), stream_listener_(services.stream_listener_) {} diff --git a/src/services/copy_file/file_enquirer/file_enquirer.h b/src/services/copy_file/file_enquirer/file_enquirer.h index 9c970129..d272dd71 100644 --- a/src/services/copy_file/file_enquirer/file_enquirer.h +++ b/src/services/copy_file/file_enquirer/file_enquirer.h @@ -52,7 +52,7 @@ class FileEnquirer : public BaseService { virtual uint32_t service_type_id() { return factory_id; } static void RegisterToServiceFactory( - std::shared_ptr> p_factory, const Config& config) { + std::shared_ptr> p_factory, const Config& config) { if (!config.enabled()) { // service factory is not enabled return;