qt5/tests/check_annotations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1acbe6af40e598b3afae18709eb32ec44d7b1afc Author: Tobias Deiminger <[email protected]> Date: Sat Sep 8 12:39:25 2018 +0200 Fix compilation with QT_STRICT_ITERATORS diff --git a/qt5/tests/check_annotations.cpp b/qt5/tests/check_annotations.cpp index 0e015aac..36aa1bd3 100644 --- a/qt5/tests/check_annotations.cpp +++ b/qt5/tests/check_annotations.cpp @@ -94,7 +94,7 @@ void TestAnnotations::checkFontSizeAndColor() QCOMPARE(textAnnot->textFont().pointSize(), testFont.pointSize()); QCOMPARE(static_cast<int>(textAnnot->textColor().spec()), static_cast<int>(color.spec())); QCOMPARE(textAnnot->textColor(), color); - if (annot != annots.end()) + if (annot != annots.constEnd()) ++annot; } } _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
