aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-09-20 16:53:00 +0200
committerGitHub Enterprise <[email protected]>2024-09-20 16:53:00 +0200
commitc8189d26a2e1d57d1ce227b02796276337fba5ca (patch)
tree5b2d235a91a793878ab739d987f671fc8d6fe3f5 /src/zenutil/include
parent5.5.8-pre0 (diff)
downloadzen-c8189d26a2e1d57d1ce227b02796276337fba5ca.tar.xz
zen-c8189d26a2e1d57d1ce227b02796276337fba5ca.zip
made fmt formatter format function const (#162)
this appears to be required as of fmt v11
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/cache/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/include/zenutil/cache/cache.h b/src/zenutil/include/zenutil/cache/cache.h
index 5e12c488c..20299a667 100644
--- a/src/zenutil/include/zenutil/cache/cache.h
+++ b/src/zenutil/include/zenutil/cache/cache.h
@@ -23,7 +23,7 @@ template<>
struct fmt::formatter<zen::CacheRequestContext> : formatter<string_view>
{
template<typename FormatContext>
- auto format(const zen::CacheRequestContext& Context, FormatContext& ctx)
+ auto format(const zen::CacheRequestContext& Context, FormatContext& ctx) const
{
zen::ExtendableStringBuilder<64> String;
Context.SessionId.ToString(String);