Clang warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-01-28 12:58:11 +02:00
parent 1f19c1bce0
commit 3bdf60705d

View File

@ -2010,7 +2010,7 @@ QVector<quint32> VToolSeamAllowance::DuplicatePins(const QVector<quint32> &pins,
{ {
QSharedPointer<VPointF> pin = initData.data->GeometricObject<VPointF>(pins.at(i)); QSharedPointer<VPointF> pin = initData.data->GeometricObject<VPointF>(pins.at(i));
VAbstractNode *tool = qobject_cast<VAbstractNode *>(VAbstractPattern::getTool(i)); VAbstractNode *tool = qobject_cast<VAbstractNode *>(VAbstractPattern::getTool(pins.at(i)));
SCASSERT(tool != nullptr) SCASSERT(tool != nullptr)
VToolPinInitData initNodeData; VToolPinInitData initNodeData;