From 64f73b57eff6c32049b75d2b0938b12f22e99493 Mon Sep 17 00:00:00 2001 From: Stephen Miller Date: Wed, 13 Nov 2024 12:07:55 -0600 Subject: [PATCH] Clang --- src/core/memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/memory.cpp b/src/core/memory.cpp index aba6a0345..61eb421e5 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -514,8 +514,8 @@ int MemoryManager::VirtualQuery(VAddr addr, int flags, info->is_direct.Assign(vma.type == VMAType::Direct); info->is_stack.Assign(vma.type == VMAType::Stack); info->is_pooled.Assign(vma.type == VMAType::Pooled); - info->is_committed.Assign(vma.type != VMAType::Free && vma.type != VMAType::Reserved - && vma.type != VMAType::PoolReserved); + info->is_committed.Assign(vma.type != VMAType::Free && vma.type != VMAType::Reserved && + vma.type != VMAType::PoolReserved); vma.name.copy(info->name.data(), std::min(info->name.size(), vma.name.size())); if (vma.type == VMAType::Direct) { const auto dmem_it = FindDmemArea(vma.phys_base);