diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2026-07-29 18:15:38 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2026-07-29 18:15:38 +0200 |
| commit | 61e97c9a099ed00261e299ddc43bc22c1479e220 (patch) | |
| tree | 7cbb009ab32a3e852676a488805bb9366ab330d2 /Source/Core/Common/TimeUtil.cpp | |
| parent | 73de7b8d3e59d4bef685f582d305b65bdb85a707 (diff) | |
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)); |
