Remove deprecated APIs

This commit is contained in:
Victor Zverovich
2022-05-21 12:20:31 -07:00
parent 621eb80bbb
commit 440512f08d
6 changed files with 7 additions and 71 deletions
+3 -1
View File
@@ -585,7 +585,9 @@ struct error_handler {
constexpr error_handler(const error_handler&) = default;
// This function is intentionally not constexpr to give a compile-time error.
FMT_NORETURN FMT_API void on_error(const char* message);
FMT_NORETURN FMT_API void on_error(const char* message) {
throw_format_error(message);
}
};
FMT_END_DETAIL_NAMESPACE