From ffedb4170577e176afe8b0cdc824cfe2b4b6f305 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:52:16 +0200 Subject: [PATCH] Constness --- src/tier0/tier0_iface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tier0/tier0_iface.cpp b/src/tier0/tier0_iface.cpp index 4060594f..b08675b6 100644 --- a/src/tier0/tier0_iface.cpp +++ b/src/tier0/tier0_iface.cpp @@ -18,17 +18,17 @@ CModule g_RadAudioSystemDll; string g_LogSessionUUID; string g_LogSessionDirectory; -static const char* s_AdrFmt = "| {:s}: {:42s}: {:#18x} |\n"; +static const char* const s_AdrFmt = "| {:s}: {:42s}: {:#18x} |\n"; -void LogFunAdr(const char* szFun, uintptr_t nAdr) // Logging function addresses. +void LogFunAdr(const char* const szFun, const uintptr_t nAdr) // Logging function addresses. { spdlog::debug(s_AdrFmt, "FUN", szFun, nAdr); } -void LogVarAdr(const char* szVar, uintptr_t nAdr) // Logging variable addresses. +void LogVarAdr(const char* const szVar, const uintptr_t nAdr) // Logging variable addresses. { spdlog::debug(s_AdrFmt, "VAR", szVar, nAdr); } -void LogConAdr(const char* szCon, uintptr_t nAdr) // Logging constant addresses. +void LogConAdr(const char* const szCon, const uintptr_t nAdr) // Logging constant addresses. { spdlog::debug(s_AdrFmt, "CON", szCon, nAdr); }