From d58e3f08d04e46b02c685af2c97f86ffb072048b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C4=9Fan=20Can=20=C5=9Eit?= Date: Tue, 20 Jan 2026 21:42:23 +0300 Subject: [PATCH] Use std::move (#4656) --- include/fmt/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 69437bef..a5be74d2 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3944,8 +3944,8 @@ template 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 {