From 63e936e506c4469f9f390873d7696f047a02733d Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Wed, 21 Sep 2016 21:35:03 +0200 Subject: QCanBusFrame: Change default ctor to not copy QByteArray Task-number: QTBUG-51845 Change-Id: I5846b288d03b936fd1f3d3658a70c9ec5f7e6b46 Reviewed-by: Alex Blasche --- tests/auto/qcanbusframe/tst_qcanbusframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/qcanbusframe/tst_qcanbusframe.cpp b/tests/auto/qcanbusframe/tst_qcanbusframe.cpp index b2778ee..3a199ec 100644 --- a/tests/auto/qcanbusframe/tst_qcanbusframe.cpp +++ b/tests/auto/qcanbusframe/tst_qcanbusframe.cpp @@ -366,7 +366,7 @@ void tst_QCanBusFrame::streaming() void tst_QCanBusFrame::tst_error() { - QCanBusFrame frame(1); + QCanBusFrame frame(1, QByteArray()); QCOMPARE(frame.frameType(), QCanBusFrame::DataFrame); QCOMPARE(frame.frameId(), 1u); QCOMPARE(frame.error(), QCanBusFrame::NoError); -- cgit v1.2.3