mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "titleblocktemplate.h"
|
||||
#include "qetapp.h"
|
||||
#include <QMenu>
|
||||
#include <utility>
|
||||
|
||||
/**
|
||||
* @brief TitleBlockPropertiesWidget::TitleBlockPropertiesWidget
|
||||
@@ -221,7 +222,7 @@ TitleBlockProperties TitleBlockPropertiesWidget::propertiesAutoNum(QString autoN
|
||||
|
||||
prop.context = m_dcw -> context();
|
||||
|
||||
prop.auto_page_num = autoNum;
|
||||
prop.auto_page_num = std::move(autoNum);
|
||||
|
||||
return prop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user