From 12234d2f1015ea7cae23a7d066011f149ccd91b6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 29 Aug 2019 15:04:39 +0300 Subject: [PATCH] Clazy warning. --HG-- branch : develop --- src/libs/vpatterndb/vpiece.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index 0eba86691..e7c594182 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -69,6 +69,7 @@ QVector PieceMissingNodes(const QVector &d1Nodes, const QVecto const QList set3 = set1.subtract(set2).toList(); QVector r; + r.reserve(set3.size()); for (qint32 i = 0; i < set3.size(); ++i) { r.append(set3.at(i));