diff --git a/libcxx/test/support/concat_macros.h b/libcxx/test/support/concat_macros.h index bc1306fbdb533..57c5f5e0632e7 100644 --- a/libcxx/test/support/concat_macros.h +++ b/libcxx/test/support/concat_macros.h @@ -80,9 +80,9 @@ template requires(std::output_iterator && (std::same_as, char16_t> # ifndef TEST_HAS_NO_WIDE_CHARACTERS - || (std::same_as, wchar_t> && sizeof(wchar_t) == 2)) + || (std::same_as, wchar_t> && sizeof(wchar_t) == 2) # endif - ) + )) OutIt test_transcode(InIt first, InIt last, OutIt out_it) { while (first != last) { char32_t value = *first++; @@ -118,11 +118,11 @@ OutIt test_transcode(InIt first, InIt last, OutIt out_it) { template requires(std::output_iterator && - (std::same_as, char32_t> || + (std::same_as, char32_t> # ifndef TEST_HAS_NO_WIDE_CHARACTERS - (std::same_as, wchar_t> && sizeof(wchar_t) == 4)) + || (std::same_as, wchar_t> && sizeof(wchar_t) == 4) # endif - ) + )) OutIt test_transcode(InIt first, InIt last, OutIt out_it) { while (first != last) { char32_t value = *first++;