Skip to content

Commit

Permalink
codeeditorstyle.cpp: fixed performance-move-const-arg clang-tidy wa…
Browse files Browse the repository at this point in the history
…rnings
  • Loading branch information
firewave committed Oct 6, 2023
1 parent 0fea61c commit 12ec6de
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gui/codeeditorstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ CodeEditorStyle::CodeEditorStyle(
QColor SymbFGColor, QColor SymbBGColor,
// cppcheck-suppress naming-varname - TODO: fix this
QFont::Weight SymbWeight) :
widgetFGColor(std::move(CtrlFGColor)),
widgetBGColor(std::move(CtrlBGColor)),
highlightBGColor(std::move(HiLiBGColor)),
lineNumFGColor(std::move(LnNumFGColor)),
lineNumBGColor(std::move(LnNumBGColor)),
keywordColor(std::move(KeyWdFGColor)),
widgetFGColor(CtrlFGColor),
widgetBGColor(CtrlBGColor),
highlightBGColor(HiLiBGColor),
lineNumFGColor(LnNumFGColor),
lineNumBGColor(LnNumBGColor),
keywordColor(KeyWdFGColor),
keywordWeight(KeyWdWeight),
classColor(std::move(ClsFGColor)),
classColor(ClsFGColor),
classWeight(ClsWeight),
quoteColor(std::move(QteFGColor)),
quoteColor(QteFGColor),
quoteWeight(QteWeight),
commentColor(std::move(CmtFGColor)),
commentColor(CmtFGColor),
commentWeight(CmtWeight),
symbolFGColor(std::move(SymbFGColor)),
symbolBGColor(std::move(SymbBGColor)),
symbolFGColor(SymbFGColor),
symbolBGColor(SymbBGColor),
symbolWeight(SymbWeight)
{}

Expand Down

0 comments on commit 12ec6de

Please sign in to comment.