diff --git a/include/fmt/core.h b/include/fmt/core.h index eadd4ab1ed20..44cc3d95dfe5 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1426,8 +1426,8 @@ template > inline format_arg_store, remove_reference_t...> make_args_checked(const S& format_str, const remove_reference_t&... args) { - static_assert(all_true<(!std::is_base_of>() || - !std::is_reference())...>::value, + static_assert(all_true<(!std::is_base_of>::value || + !std::is_reference::value)...>::value, "passing views as lvalues is disallowed"); check_format_string>...>(format_str); return {args...};