From c2e47df91f3942527622f3839e4a392c263c162f Mon Sep 17 00:00:00 2001 From: Ivan Chikish Date: Sat, 8 Jul 2023 21:47:06 +0300 Subject: [PATCH] Fix formatting --- orbis-kernel/include/orbis/utils/IdMap.hpp | 8 ++++---- rpcsx-os/main.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/orbis-kernel/include/orbis/utils/IdMap.hpp b/orbis-kernel/include/orbis/utils/IdMap.hpp index e512d362c..ea23c196f 100644 --- a/orbis-kernel/include/orbis/utils/IdMap.hpp +++ b/orbis-kernel/include/orbis/utils/IdMap.hpp @@ -178,7 +178,9 @@ public: return m_chunks[chunk].get(index); } - bool destroy(IdT id) requires requires(T t) { t.destroy(); } { + bool destroy(IdT id) + requires requires(T t) { t.destroy(); } + { const auto rawId = static_cast(id) - MinId; if (rawId >= MaxId - MinId) { @@ -221,9 +223,7 @@ public: return true; } - [[deprecated("use close()")]] bool remove(IdT id) { - return close(id); - } + [[deprecated("use close()")]] bool remove(IdT id) { return close(id); } }; template si_addr)) { + (std::uint64_t)info->si_addr)) { printed += std::snprintf(buf + printed, sizeof(buf) - printed, "\n"); write(2, buf, printed); } if (rx::thread::g_current) { rx::printStackTrace(reinterpret_cast(ucontext), - rx::thread::g_current, 2); + rx::thread::g_current, 2); } else { rx::printStackTrace(reinterpret_cast(ucontext), 2); }