From 8b614c57691255fb20351d48a9114276a584e42d Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 21 Aug 2016 17:04:48 +0000 Subject: [PATCH] return a proper T null instead of an empty T --- external/3rd/library/webAPI/webAPI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/3rd/library/webAPI/webAPI.h b/external/3rd/library/webAPI/webAPI.h index 0708427d..e9bb0d5a 100644 --- a/external/3rd/library/webAPI/webAPI.h +++ b/external/3rd/library/webAPI/webAPI.h @@ -70,7 +70,7 @@ namespace StellaBellum return this->responseData[slot].get(); } - return T(); // empty value of T + return static_cast(NULL); } private: