diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0f30ba63..d662c91b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -30,10 +30,6 @@ jobs: - cxx: g++-10 build_type: Debug std: 17 - - cxx: g++-11 - build_type: Debug - std: 20 - install: sudo apt install g++-11 - cxx: clang++-8 build_type: Debug std: 17 diff --git a/test/xchar-test.cc b/test/xchar-test.cc index cbc961d3..312e632b 100644 --- a/test/xchar-test.cc +++ b/test/xchar-test.cc @@ -183,12 +183,6 @@ TEST(xchar_test, format_custom_char) { } #endif -// Convert a char8_t string to std::string. Otherwise GTest will insist on -// inserting `char8_t` NTBS into a `char` stream which is disabled by P1423. -template std::string from_u8str(const S& str) { - return std::string(str.begin(), str.end()); -} - TEST(xchar_test, format_to) { auto buf = std::vector(); fmt::format_to(std::back_inserter(buf), L"{}{}", 42, L'\0');