diff options
| author | get <45425365+Minty-Meeo@users.noreply.github.com> | 2023-04-14 23:55:53 -0500 |
|---|---|---|
| committer | get <45425365+Minty-Meeo@users.noreply.github.com> | 2023-04-15 16:07:05 -0500 |
| commit | a5d06fde4b597d93750ba29bc2db83401fe431f7 (patch) | |
| tree | 7d79d61f9b7cd76c9d600cd4c8ecca11875f4a32 /Source/Core/Common/MemoryUtil.cpp | |
| parent | ae18aa0639bdf2d51c8bf738bd7f794d89aa22e4 (diff) | |
Embrace nullptr over NULL and 0
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/MemoryUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp index f94af85822..b473705411 100644 --- a/Source/Core/Common/MemoryUtil.cpp +++ b/Source/Core/Common/MemoryUtil.cpp @@ -250,7 +250,7 @@ size_t MemPhysical() mib[1] = HW_PHYSMEM64; #endif size_t length = sizeof(size_t); - sysctl(mib, 2, &physical_memory, &length, NULL, 0); + sysctl(mib, 2, &physical_memory, &length, nullptr, 0); return physical_memory; #elif defined __HAIKU__ system_info sysinfo; |
