Skip to content

Commit

Permalink
Remove unnecessary alias
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Dec 29, 2023
1 parent a8bed38 commit 47a0eec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,7 @@ inline void do_write(buffer<Char>& buf, const std::tm& time,
auto&& format_buf = formatbuf<std::basic_streambuf<Char>>(buf);
auto&& os = std::basic_ostream<Char>(&format_buf);
os.imbue(loc);
using iterator = std::ostreambuf_iterator<Char>;
const auto& facet = std::use_facet<std::time_put<Char, iterator>>(loc);
const auto& facet = std::use_facet<std::time_put<Char>>(loc);
auto end = facet.put(os, os, Char(' '), &time, format, modifier);
if (end.failed()) FMT_THROW(format_error("failed to format time"));
}
Expand Down

0 comments on commit 47a0eec

Please sign in to comment.