Disable warning Wunused-function.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-09-19 18:53:32 +03:00
parent a4ec72b3bd
commit 778d4bebc1

View File

@ -623,6 +623,8 @@ qreal AngleBetweenBisectors(const QLineF &b1, const QLineF &b2)
}
//---------------------------------------------------------------------------------------------------------------------
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Wunused-function")
// Use for writing tests
void DumpVector(const QVector<QPointF> &points)
{
@ -736,6 +738,7 @@ QT_WARNING_POP
out << endl << "return points;";
}
}
QT_WARNING_POP
}
//---------------------------------------------------------------------------------------------------------------------