diff options
| author | 2026-03-02 21:31:04 +0000 | |
|---|---|---|
| committer | 2026-03-02 21:31:04 +0000 | |
| commit | 6a2d85ae07564b7f096941b7f7e12c15f5465d61 (patch) | |
| tree | 619fb2f5424c2ac2941463b0222beffc23122e20 /src/cull.cpp | |
| parent | Disable service registration messages when not using a debug build. (diff) | |
Abolish FMT_PTR, this does the same for both formatters.
Diffstat (limited to 'src/cull.cpp')
| -rw-r--r-- | src/cull.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cull.cpp b/src/cull.cpp index ac0deffff..8513bf84b 100644 --- a/src/cull.cpp +++ b/src/cull.cpp @@ -36,7 +36,7 @@ Cullable::Cullable() if (ServerInstance) { ServerInstance->Logs.Debug("CULL", "Cullable::+{} @{}", - typeid(*this).name(), FMT_PTR(this)); + typeid(*this).name(), (void*)this); } #endif } @@ -47,7 +47,7 @@ Cullable::~Cullable() if (ServerInstance) { ServerInstance->Logs.Debug("CULL", "Cullable::~{} @{}", - typeid(*this).name(), FMT_PTR(this)); + typeid(*this).name(), (void*)this); } #endif } @@ -58,7 +58,7 @@ Cullable::Result Cullable::Cull() if (ServerInstance) { ServerInstance->Logs.Debug("CULL", "Cullable::-{} @{}", - typeid(*this).name(), FMT_PTR(this)); + typeid(*this).name(), (void*)this); } #endif return {}; @@ -91,8 +91,8 @@ void CullList::Apply() if (culled.insert(c).second) { #ifdef INSPIRCD_DEBUG - ServerInstance->Logs.Debug("CULL", "Culling {} @{}", typeid(*c).name(), - FMT_PTR(c)); + ServerInstance->Logs.Debug("CULL", "Culling {} @{}", + typeid(*c).name(), (void*)c); #endif c->Cull(); @@ -104,10 +104,10 @@ void CullList::Apply() { #ifdef INSPIRCD_DEBUG ServerInstance->Logs.Debug("CULL", "BUG: {} @{} was added to the cull list twice!", - typeid(*c).name(), FMT_PTR(c)); + typeid(*c).name(), (void*)c); #else ServerInstance->Logs.Debug("CULL", "BUG: @{} was added to the cull list twice!", - FMT_PTR(c)); + (void*)c); #endif } } @@ -117,7 +117,7 @@ void CullList::Apply() { #ifdef INSPIRCD_DEBUG ServerInstance->Logs.Debug("CULL", "Deleting {} @{}", typeid(*c).name(), - FMT_PTR(c)); + (void*)c); #endif delete c; } |
