summaryrefslogtreecommitdiff
path: root/src/testlib/qabstractitemmodeltester.cpp
diff options
context:
space:
mode:
authorSergio Martins <sergio.martins@kdab.com>2018-09-22 14:59:14 +0100
committerSérgio Martins <sergio.martins@kdab.com>2018-10-05 11:30:42 +0000
commit92f42caff1d1cb02dc218adc8589c03d0b30ef80 (patch)
treef4448422ccbeb63a13237b3a883f238d9b4894ad /src/testlib/qabstractitemmodeltester.cpp
parent04aeffbe8f6d452529671205fa2ded43103e1a46 (diff)
downloadqtbase-92f42caff1d1cb02dc218adc8589c03d0b30ef80.tar.gz
Fix ICE on QNX 6.6
qabstractitemmodeltester.cpp:223:31: internal compiler error: in expand_expr_real_1, at expr.c:9170 Change-Id: I098c1bdf706512c91c649205f4675de0ca374227 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/testlib/qabstractitemmodeltester.cpp')
-rw-r--r--src/testlib/qabstractitemmodeltester.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qabstractitemmodeltester.cpp b/src/testlib/qabstractitemmodeltester.cpp
index fc6f696ecd..859966c0e3 100644
--- a/src/testlib/qabstractitemmodeltester.cpp
+++ b/src/testlib/qabstractitemmodeltester.cpp
@@ -217,7 +217,7 @@ QAbstractItemModelTester::QAbstractItemModelTester(QAbstractItemModel *model, Fa
Q_D(QAbstractItemModelTester);
- const auto &runAllTests = [d] { d->runAllTests(); };
+ auto runAllTests = [d] { d->runAllTests(); };
connect(model, &QAbstractItemModel::columnsAboutToBeInserted,
this, runAllTests);