Clang warnings.

This commit is contained in:
Roman Telezhynskyi 2022-11-10 15:53:36 +02:00
parent accaa68e7a
commit 301069fbff
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Q_DECLARE_LOGGING_CATEGORY(MLReader) // NOLINT
struct TextLine; struct TextLine;
struct VLayoutPassmark; struct VLayoutPassmark;
struct VLayoutPlaceLabel; class VLayoutPlaceLabel;
class VLayoutPiecePath; class VLayoutPiecePath;
class VTextManager; class VTextManager;
class VLayoutPoint; class VLayoutPoint;

View File

@ -178,7 +178,7 @@ void TST_VAbstractCurve::CurveIntersectLine_data()
QTest::addColumn<QVector<QPointF>>("intersections"); QTest::addColumn<QVector<QPointF>>("intersections");
QTest::addColumn<QLineF>("line"); QTest::addColumn<QLineF>("line");
auto ASSERT_TEST_CASE = [this](const char *title, const QString &input, const QString &output, QLineF line) auto ASSERT_TEST_CASE = [](const char *title, const QString &input, const QString &output, QLineF line)
{ {
QVector<QPointF> points = AbstractTest::VectorFromJson<QPointF>(input); QVector<QPointF> points = AbstractTest::VectorFromJson<QPointF>(input);
QVector<QPointF> intersections = AbstractTest::VectorFromJson<QPointF>(output); QVector<QPointF> intersections = AbstractTest::VectorFromJson<QPointF>(output);