summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2016-06-09 21:39:49 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2016-06-15 14:35:47 +0000
commitbfc1ed24bd2ebc94b3e0c5bd17d860fe251e2b30 (patch)
treeb88a5197acc53faba367ab2219bb438da87c7d07 /tests
parent2430d5a36656ff4bc01b42f76d82e053608ad2eb (diff)
downloadqtserialport-bfc1ed24bd2ebc94b3e0c5bd17d860fe251e2b30.tar.gz
Use auto in more cases
Change-Id: Id4fd74d4d45b28ddc60de6308386728a0eda8bb7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qserialport/tst_qserialport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qserialport/tst_qserialport.cpp b/tests/auto/qserialport/tst_qserialport.cpp
index b9d41b8..24c0134 100644
--- a/tests/auto/qserialport/tst_qserialport.cpp
+++ b/tests/auto/qserialport/tst_qserialport.cpp
@@ -995,7 +995,7 @@ private:
void tst_QSerialPort::synchronousReadWriteAfterAsynchronousReadWrite()
{
MasterTransactor master(m_senderPortName);
- SlaveTransactor *slave = new SlaveTransactor(m_receiverPortName);
+ auto slave = new SlaveTransactor(m_receiverPortName);
QThread thread;
slave->moveToThread(&thread);