return a proper T null instead of an empty T

This commit is contained in:
DarthArgus
2016-09-26 06:24:21 +00:00
parent 0595b456b9
commit 8b614c5769
+1 -1
View File
@@ -70,7 +70,7 @@ namespace StellaBellum
return this->responseData[slot].get<T>();
}
return T(); // empty value of T
return static_cast<T>(NULL);
}
private: