diff --git a/src/libs/vlayout/vabstractpiece.cpp b/src/libs/vlayout/vabstractpiece.cpp index c25719f94..adac8806f 100644 --- a/src/libs/vlayout/vabstractpiece.cpp +++ b/src/libs/vlayout/vabstractpiece.cpp @@ -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 &points) { @@ -736,6 +738,7 @@ QT_WARNING_POP out << endl << "return points;"; } } +QT_WARNING_POP } //---------------------------------------------------------------------------------------------------------------------