Simplify duration cast
This commit is contained in:
@@ -3792,6 +3792,7 @@ template <typename Char = char> struct format_handler {
|
||||
FMT_NORETURN void on_error(const char* message) { report_error(message); }
|
||||
};
|
||||
|
||||
// It is used in format-inl.h and os.cc.
|
||||
using format_func = void (*)(detail::buffer<char>&, int, const char*);
|
||||
FMT_API void do_report_error(format_func func, int error_code,
|
||||
const char* message) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user