Skip to content

Commit

Permalink
fix base.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
fcharlie committed May 12, 2023
1 parent bf10b10 commit a86920e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/base/base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
#include <filesystem>
#include <numeric>
#include <source_location>
#include <format>

template <class... _Types>
[[nodiscard]] std::wstring format(const std::wformat_string<_Types...> _Fmt, _Types &&..._Args) {
return std::vformat(_Fmt.get(), std::make_wformat_args(_Args...));
}

void string_no_const_print_v0() {
char *s1 = nullptr;
Expand Down Expand Up @@ -226,4 +221,4 @@ int wmain(int argc, wchar_t **argv) {
abc.append(L"\0");
bela::FPrintF(stderr, L"\n---------------: %d\n", abc.size());
return 0;
}
}

0 comments on commit a86920e

Please sign in to comment.