Suppress warning Wunused-function.

Try number 2.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-09-19 20:06:47 +03:00
parent 778d4bebc1
commit 252fa3a0de

View File

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