aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/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/zenstore/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/zenstore/include')
-rw-r--r--src/zenstore/include/zenstore/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/include/zenstore/gc.h b/src/zenstore/include/zenstore/gc.h
index 111b9886e..a8c5c0219 100644
--- a/src/zenstore/include/zenstore/gc.h
+++ b/src/zenstore/include/zenstore/gc.h
@@ -591,7 +591,7 @@ template<>
struct fmt::formatter<zen::GcClock::TimePoint> : formatter<string_view>
{
template<typename FormatContext>
- auto format(const zen::GcClock::TimePoint& TimePoint, FormatContext& ctx)
+ auto format(const zen::GcClock::TimePoint& TimePoint, FormatContext& ctx) const
{
std::time_t Time = std::chrono::system_clock::to_time_t(TimePoint);
char TimeString[std::size("yyyy-mm-ddThh:mm:ss")];