mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-30 12:24:59 +00:00
Remove unused function
This commit is contained in:
parent
a4715c48b4
commit
0b5287f8b7
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@ -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
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user