Remove unused function

This commit is contained in:
Victor Zverovich 2024-05-15 12:51:47 -07:00
parent a4715c48b4
commit 0b5287f8b7
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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 <typename S> std::string from_u8str(const S& str) {
return std::string(str.begin(), str.end());
}
TEST(xchar_test, format_to) {
auto buf = std::vector<wchar_t>();
fmt::format_to(std::back_inserter(buf), L"{}{}", 42, L'\0');