From 04afe8fbf1922794934b288e12d44ba3e1d2c324 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Sun, 8 Dec 2013 19:43:43 +0100 Subject: [PATCH] remove pesky sstream --- Server/ServerFactory.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Server/ServerFactory.h b/Server/ServerFactory.h index c34350b70..89f2e5b8f 100644 --- a/Server/ServerFactory.h +++ b/Server/ServerFactory.h @@ -38,13 +38,18 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include struct ServerFactory : boost::noncopyable { - static Server * CreateServer(std::string& ip_address, int ip_port, int threads) { + static Server * CreateServer( + std::string& ip_address, + int ip_port, + int threads + ) { SimpleLogger().Write() << "http 1.1 compression handled by zlib version " << zlibVersion(); std::string port_stream; intToString(ip_port, port_stream); + return new Server( ip_address, port_stream,