Skip to content

Commit 909998b

Browse files
committed
include/fmt/core.h: fix building with clang-20
Signed-off-by: Denis Pronin <dannftk@yandex.ru>
1 parent 0006fa4 commit 909998b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/fmt/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2709,7 +2709,7 @@ template <typename Char, typename... Args> class basic_format_string {
27092709
template <typename S,
27102710
FMT_ENABLE_IF(
27112711
std::is_convertible<const S&, basic_string_view<Char>>::value)>
2712-
FMT_CONSTEVAL FMT_INLINE basic_format_string(const S& s) : str_(s) {
2712+
FMT_CONSTEXPR FMT_INLINE basic_format_string(const S& s) : str_(s) {
27132713
static_assert(
27142714
detail::count<
27152715
(std::is_base_of<detail::view, remove_reference_t<Args>>::value &&

0 commit comments

Comments
 (0)