diff options
| author | Stefan Boberg <[email protected]> | 2024-09-20 16:53:00 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-20 16:53:00 +0200 |
| commit | c8189d26a2e1d57d1ce227b02796276337fba5ca (patch) | |
| tree | 5b2d235a91a793878ab739d987f671fc8d6fe3f5 /src/zenstore/include | |
| parent | 5.5.8-pre0 (diff) | |
| download | zen-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.h | 2 |
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")]; |