diff options
Diffstat (limited to 'src/base.cpp')
| -rw-r--r-- | src/base.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/base.cpp b/src/base.cpp index 11afe17f1..a77dec862 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -50,15 +50,19 @@ refcountbase::refcountbase() refcountbase::~refcountbase() { if (refcount && ServerInstance) - ServerInstance->Logs.Debug("CULLLIST", "refcountbase::~ @%p with refcount %d", - static_cast<void*>(this), refcount); + { + ServerInstance->Logs.Debug("CULLLIST", "refcountbase::~ @{} with refcount {}", + fmt::ptr(this), refcount); + } } usecountbase::~usecountbase() { if (usecount && ServerInstance) - ServerInstance->Logs.Debug("CULLLIST", "usecountbase::~ @%p with refcount %d", - static_cast<void*>(this), usecount); + { + ServerInstance->Logs.Debug("CULLLIST", "usecountbase::~ @{} with refcount {}", + fmt::ptr(this), usecount); + } } void ServiceProvider::RegisterService() |
