Reduce locale dependency

This commit is contained in:
Victor Zverovich
2022-09-02 09:36:41 -07:00
parent 4191477b98
commit 56c72a671c
4 changed files with 22 additions and 10 deletions

View File

@ -521,9 +521,9 @@ TEST(locale_test, sign) {
EXPECT_EQ(fmt::format(std::locale(), L"{:L}", -50), L"-50");
}
class num_format : public fmt::num_format_facet<> {
class num_format : public fmt::num_format_facet<std::locale> {
protected:
using fmt::num_format_facet<>::do_put;
using fmt::num_format_facet<std::locale>::do_put;
iter_type do_put(iter_type out, std::ios_base&, char,
unsigned long long) const override;
};