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:
parent
fc89b4d697
commit
28527efb83
@ -44,7 +44,7 @@ private:
|
||||
|
||||
template<>
|
||||
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));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user