mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-11 23:45:01 -04:00
return a proper T null instead of an empty T
This commit is contained in:
Vendored
+1
-1
@@ -70,7 +70,7 @@ namespace StellaBellum
|
||||
return this->responseData[slot].get<T>();
|
||||
}
|
||||
|
||||
return T(); // empty value of T
|
||||
return static_cast<T>(NULL);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user