mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Improve compatibility with bcc32
This commit is contained in:
parent
31aced8b59
commit
6606971aae
@ -744,7 +744,7 @@ FMT_FUNC void fmt::internal::format_windows_error(
|
||||
}
|
||||
}
|
||||
} FMT_CATCH(...) {}
|
||||
format_error_code(out, error_code, message);
|
||||
fmt::format_error_code(out, error_code, message); // 'fmt::' is for bcc32.
|
||||
}
|
||||
|
||||
#endif // FMT_USE_WINDOWS_H
|
||||
@ -767,7 +767,7 @@ FMT_FUNC void fmt::internal::format_system_error(
|
||||
buffer.resize(buffer.size() * 2);
|
||||
}
|
||||
} FMT_CATCH(...) {}
|
||||
format_error_code(out, error_code, message);
|
||||
fmt::format_error_code(out, error_code, message); // 'fmt::' is for bcc32.
|
||||
}
|
||||
|
||||
template <typename Char>
|
||||
|
2
format.h
2
format.h
@ -1412,7 +1412,7 @@ class BasicFormatter : private internal::FormatterBase {
|
||||
|
||||
FMT_DISALLOW_COPY_AND_ASSIGN(BasicFormatter);
|
||||
|
||||
using FormatterBase::get_arg;
|
||||
using internal::FormatterBase::get_arg;
|
||||
|
||||
// Checks if manual indexing is used and returns the argument with
|
||||
// specified name.
|
||||
|
Loading…
Reference in New Issue
Block a user