mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +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:
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
#include "conductorproperties.h"
|
||||
#include <QPainter>
|
||||
#include <utility>
|
||||
|
||||
/**
|
||||
Constructeur par defaut
|
||||
@@ -426,7 +427,7 @@ void ConductorProperties::setText(QString text) {
|
||||
*/
|
||||
void ConductorProperties::applyForEqualAttributes(QList<ConductorProperties> list)
|
||||
{
|
||||
const QList<ConductorProperties> clist = list;
|
||||
const QList<ConductorProperties> clist = std::move(list);
|
||||
|
||||
if (clist.isEmpty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user