Suppress warning Wunused-function.
Try number 2. --HG-- branch : release
This commit is contained in:
parent
778d4bebc1
commit
252fa3a0de
|
@ -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
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user