mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-05 17:30:06 +08:00
Add const qualifiers and use std::move for improved const-correctness
This commit is contained in:
parent
a9ea225cad
commit
82da6a83f4
@ -3944,8 +3944,8 @@ template <typename Locale> class format_facet : public Locale::facet {
|
||||
explicit format_facet(string_view sep = "", std::string grouping = "\3",
|
||||
std::string decimal_point = ".")
|
||||
: separator_(sep.data(), sep.size()),
|
||||
grouping_(grouping),
|
||||
decimal_point_(decimal_point) {}
|
||||
grouping_(std::move(grouping)),
|
||||
decimal_point_(std::move(decimal_point)) {}
|
||||
|
||||
auto put(appender out, loc_value val, const format_specs& specs) const
|
||||
-> bool {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user