From 0a88c53aeb9d9da41afde0d0f5985be327d22490 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sun, 30 Oct 2022 20:37:12 +0800 Subject: [PATCH] upd: [imp] sys::error formatter --- include/libimp/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libimp/system.h b/include/libimp/system.h index 60d0d37..0222b2a 100644 --- a/include/libimp/system.h +++ b/include/libimp/system.h @@ -71,6 +71,6 @@ struct fmt::formatter<::LIBIMP_::sys::error> : formatter { template auto format(::LIBIMP_::sys::error r, FormatContext &ctx) { - return format_to(ctx.out(), "{}", ::LIBIMP_::sys::error_msg(r.code())); + return format_to(ctx.out(), ::LIBIMP_::sys::error_msg(r.code())); } };