remove unnecessary method

This commit is contained in:
Alex Martin 2017-06-25 12:59:34 +02:00 committed by Victor Zverovich
parent f61e71ccb9
commit 5e23fff052

View File

@ -213,16 +213,6 @@ void report_error(FormatFunc func, int error_code,
} }
} // namespace } // namespace
namespace internal {
// This method is used to preserve binary compatibility with fmt 3.0.
// It can be removed in 4.0.
FMT_FUNC void format_system_error(
Writer &out, int error_code, StringRef message) FMT_NOEXCEPT {
fmt::format_system_error(out, error_code, message);
}
} // namespace internal
FMT_FUNC void SystemError::init( FMT_FUNC void SystemError::init(
int err_code, CStringRef format_str, ArgList args) { int err_code, CStringRef format_str, ArgList args) {
error_code_ = err_code; error_code_ = err_code;