1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Use the "nullptr" literal.

"nullptr" should be used to denote the null pointer
This commit is contained in:
Alexander Wilms
2023-10-27 15:10:54 +00:00
parent 70acf987b4
commit f01ec55d21
19 changed files with 25 additions and 25 deletions

View File

@@ -140,7 +140,7 @@ struct DLL_LINKAGE StartInfo
}
StartInfo() : mode(INVALID), difficulty(1), seedToBeUsed(0), seedPostInit(0),
mapfileChecksum(0), startTimeIso8601(vstd::getDateTimeISO8601Basic(std::time(0))), fileURI("")
mapfileChecksum(0), startTimeIso8601(vstd::getDateTimeISO8601Basic(std::time(nullptr))), fileURI("")
{
}