diff --git a/include/fmt/core.h b/include/fmt/core.h index accab811..dc2ca0b0 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1092,9 +1092,7 @@ template class value { constexpr FMT_INLINE value(char_type val) : char_value(val) {} FMT_CONSTEXPR value(const char_type* val) { string.data = val; - if (is_constant_evaluated()) { - string.size = {}; - } + if (is_constant_evaluated()) string.size = {}; } FMT_CONSTEXPR value(basic_string_view val) { string.data = val.data();