mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-18 21:41:13 +00:00
Workaround gcc bug 103879
This commit is contained in:
parent
662adf4f33
commit
491c32cbd9
@ -789,7 +789,7 @@ basic_format_parse_context<Char, ErrorHandler>::do_check_arg_id(int id) {
|
||||
template <typename Char, typename ErrorHandler>
|
||||
FMT_CONSTEXPR void
|
||||
basic_format_parse_context<Char, ErrorHandler>::check_dynamic_spec(int arg_id) {
|
||||
if (detail::is_constant_evaluated()) {
|
||||
if (detail::is_constant_evaluated() && FMT_GCC_VERSION >= 1200) {
|
||||
using context = detail::compile_parse_context<Char, ErrorHandler>;
|
||||
static_cast<context*>(this)->check_dynamic_spec(arg_id);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user