diff options
| author | Scott Mansell <phiren@gmail.com> | 2026-07-31 13:49:48 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-31 13:49:48 +1200 |
| commit | 3bd410c4c5bf9f66b013d63f4421364e95bd9722 (patch) | |
| tree | 5290c9f624c4c460a4148925c007087152b50e20 /Source/Core/Common/TimeUtil.cpp | |
| parent | e463c64b7ad37fbb33c0242052d5f4245815ec6e (diff) | |
| parent | 61e97c9a099ed00261e299ddc43bc22c1479e220 (diff) | |
Merge pull request #14775 from tygyh/Replace-zero-constants-with-`nullptr`
Replace zero constants with `nullptr`
Diffstat (limited to 'Source/Core/Common/TimeUtil.cpp')
| -rw-r--r-- | Source/Core/Common/TimeUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/TimeUtil.cpp b/Source/Core/Common/TimeUtil.cpp index e57078b7e9..fa47e23503 100644 --- a/Source/Core/Common/TimeUtil.cpp +++ b/Source/Core/Common/TimeUtil.cpp @@ -17,7 +17,7 @@ std::optional<std::tm> LocalTime(std::time_t time) #ifdef _MSC_VER if (localtime_s(&local_time, &time) != 0) #else - if (localtime_r(&time, &local_time) == NULL) + if (localtime_r(&time, &local_time) == nullptr) #endif { ERROR_LOG_FMT(COMMON, "Failed to convert time to local time: {}", std::strerror(errno)); |
