1
0
mirror of https://github.com/uowuo/abaddon.git synced 2025-03-04 03:03:16 -05:00

fix fmt not letting it build

This commit is contained in:
ouwou 2024-10-09 15:35:09 -04:00
parent fc89b4d697
commit 28527efb83

View File

@ -44,7 +44,7 @@ private:
template<> template<>
struct fmt::formatter<Snowflake> : fmt::formatter<std::string> { struct fmt::formatter<Snowflake> : fmt::formatter<std::string> {
auto format(Snowflake id, format_context &ctx) -> decltype(ctx.out()) { auto format(Snowflake id, format_context &ctx) const -> decltype(ctx.out()) {
return format_to(ctx.out(), "[id: {}]", static_cast<uint64_t>(id)); return format_to(ctx.out(), "[id: {}]", static_cast<uint64_t>(id));
} }
}; };