aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-22 10:26:43 +0100
committerGravatar Sadie Powell2024-08-22 11:12:52 +0100
commit6b123d4bc61c2db8e379dd5e681834c4053e661d (patch)
tree77621bb30f54b0c444e31a78b2c5c9a67955b723 /src/base.cpp
parentMerge branch 'insp4' into master. (diff)
Use C++20 <format> instead of fmtlib when available.
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp
index b24e44893..798d6e148 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -52,7 +52,7 @@ refcountbase::~refcountbase()
if (refcount && ServerInstance)
{
ServerInstance->Logs.Debug("CULL", "refcountbase::~ @{} with refcount {}",
- fmt::ptr(this), refcount);
+ FMT_PTR(this), refcount);
}
}
@@ -61,7 +61,7 @@ usecountbase::~usecountbase()
if (usecount && ServerInstance)
{
ServerInstance->Logs.Debug("CULL", "usecountbase::~ @{} with refcount {}",
- fmt::ptr(this), usecount);
+ FMT_PTR(this), usecount);
}
}