From fa526e8aec5aee1e03fa23feb8a952010d993828 Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Mon, 1 Apr 2024 22:07:32 -0400 Subject: [PATCH] move --- src/lib/fcitx/candidatelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/fcitx/candidatelist.cpp b/src/lib/fcitx/candidatelist.cpp index ca82b6b6..c2daa8f9 100644 --- a/src/lib/fcitx/candidatelist.cpp +++ b/src/lib/fcitx/candidatelist.cpp @@ -125,7 +125,7 @@ Text CandidateWord::textWithComment(std::string separator) const { FCITX_D(); auto text = d->text_; if (!d->comment_.empty()) { - text.append(separator); + text.append(std::move(separator)); text.append(d->comment_); } return text;