From 50bbbc044dce371f9dbc72fa88e5b1ce115ccc3a Mon Sep 17 00:00:00 2001 From: Patrick Brosi Date: Sat, 12 Jan 2019 01:38:19 +0100 Subject: [PATCH] use default constructor in util lib to fix clang-5 compilation error --- src/util/http/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/http/Server.cpp b/src/util/http/Server.cpp index ecc246c..8626e6b 100644 --- a/src/util/http/Server.cpp +++ b/src/util/http/Server.cpp @@ -150,7 +150,7 @@ Req HttpServer::getReq(int connection) { size_t rcvd = 0; int64_t curRcvd = 0; HeaderState state = NONE; - Req ret{"", "", "", "", {}}; + Req ret; char *tmp = 0; char *tmp2 = 0; char* brk = 0;