From e949b84e8c3660f6afed02468843bd00add1c571 Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Sun, 15 Dec 2024 14:18:19 +0100 Subject: [PATCH] clang-tidy fix for Release build --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 278096c..13bb026 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -304,7 +304,7 @@ void Game::step() // Get current date/time, format is YYYY-MM-DD.HH:mm:ss static std::string currentDateTime() { - const time_t now = time(0); + const time_t now = time(nullptr); struct tm tstruct; char buf[80]; tstruct = *localtime(&now);