mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
upd: [imp] sys::error formatter
This commit is contained in:
parent
29eea871c2
commit
0a88c53aeb
@ -71,6 +71,6 @@ struct fmt::formatter<::LIBIMP_::sys::error>
|
|||||||
: formatter<std::string> {
|
: formatter<std::string> {
|
||||||
template <typename FormatContext>
|
template <typename FormatContext>
|
||||||
auto format(::LIBIMP_::sys::error r, FormatContext &ctx) {
|
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()));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user