mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-01 02:15:54 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -14,7 +14,7 @@ GameNetworkMessage("TaskConnectionIdMessage"),
|
||||
serverType(static_cast<unsigned char>(id)),
|
||||
commandLine(pCommandLine),
|
||||
clusterName(pClusterName),
|
||||
currentEpochTime(static_cast<long>(::time(NULL)))
|
||||
currentEpochTime(static_cast<long>(::time(nullptr)))
|
||||
{
|
||||
addVariable(serverType);
|
||||
addVariable(commandLine);
|
||||
|
||||
Reference in New Issue
Block a user