summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2017-10-23 19:39:21 (GMT)
committerDenis Shienkov <denis.shienkov@gmail.com>2017-10-24 07:43:27 (GMT)
commit95d7c69a471c3568a87f35991fc298f9bec44383 (patch)
treeb288b7b2be96ddf07a176902f0546a8ecdb4bb98
parent1dc3d4bb64110421c25d845fa920d51b2970e6ca (diff)
downloadqtserialport-95d7c69a471c3568a87f35991fc298f9bec44383.tar.gz
Make some more d-pointers const
Change-Id: I844f5102077e7b4d5240947a614bfb163c8b7890 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
-rw-r--r--src/serialport/qserialport_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/qserialport_unix.cpp b/src/serialport/qserialport_unix.cpp
index d5e67aa..4f5203e 100644
--- a/src/serialport/qserialport_unix.cpp
+++ b/src/serialport/qserialport_unix.cpp
@@ -173,7 +173,7 @@ protected:
}
private:
- QSerialPortPrivate *dptr;
+ QSerialPortPrivate * const dptr;
};
class WriteNotifier : public QSocketNotifier
@@ -196,7 +196,7 @@ protected:
}
private:
- QSerialPortPrivate *dptr;
+ QSerialPortPrivate * const dptr;
};
static inline void qt_set_common_props(termios *tio, QIODevice::OpenMode m)