mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Constness
This commit is contained in:
parent
994658c4a2
commit
86ca562fb3
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user