Skip to content

Commit

Permalink
clang-tidy fix for Release build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Dec 15, 2024
1 parent 071ddc4 commit e949b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e949b84

Please sign in to comment.