From 6632cb4d9a044e3067ff61deea1546565f952a0d Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Tue, 5 Jun 2018 17:25:56 +0200 Subject: [PATCH] return nullptr improved --- src/network/http/HttpHeader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/http/HttpHeader.cpp b/src/network/http/HttpHeader.cpp index d6db7b7..5a864a4 100644 --- a/src/network/http/HttpHeader.cpp +++ b/src/network/http/HttpHeader.cpp @@ -93,7 +93,7 @@ string HttpHeader::getField(string index) { if (i != fields.end()) { return fields.at(index); } else { - return nullptr; + return ""; } }