mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
fix fmt not letting it build
This commit is contained in:
1 parent
fc89b4d697
commit
28527efb83
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user