From 118cc17c8637bd0b63b8ebda74624126c2cf5cd2 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Sat, 18 Jun 2016 14:31:11 +0300 Subject: Add 'explicit' keyword where possible to the examples Change-Id: I7338288caf0d3fcb1ecd52d0e6724aa51c108505 Reviewed-by: Anton Kudryavtsev Reviewed-by: Sergey Belyashov Reviewed-by: Oswald Buddenhagen Reviewed-by: Denis Shienkov --- examples/serialport/creaderasync/serialportreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/serialport/creaderasync/serialportreader.h') diff --git a/examples/serialport/creaderasync/serialportreader.h b/examples/serialport/creaderasync/serialportreader.h index 6c0a2c5..e723c8f 100644 --- a/examples/serialport/creaderasync/serialportreader.h +++ b/examples/serialport/creaderasync/serialportreader.h @@ -69,7 +69,7 @@ class SerialPortReader : public QObject Q_OBJECT public: - SerialPortReader(QSerialPort *serialPort, QObject *parent = 0); + explicit SerialPortReader(QSerialPort *serialPort, QObject *parent = 0); ~SerialPortReader(); private slots: -- cgit v1.2.1