summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qconnection_qnx_server_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteobjects/qconnection_qnx_server_p.h')
-rw-r--r--src/remoteobjects/qconnection_qnx_server_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/remoteobjects/qconnection_qnx_server_p.h b/src/remoteobjects/qconnection_qnx_server_p.h
index 8f0be3b..4e2bfe4 100644
--- a/src/remoteobjects/qconnection_qnx_server_p.h
+++ b/src/remoteobjects/qconnection_qnx_server_p.h
@@ -56,6 +56,7 @@
#include <QAtomicInt>
#include <QMutex>
+#include <QSharedPointer>
QT_BEGIN_NAMESPACE
@@ -94,8 +95,8 @@ public:
QString serverName;
name_attach_t *attachStruct;
QHash<int, QSet<int> > connections;
- QHash<uint64_t, QIOQnxSource *> sources;
- QList<QIOQnxSource *> pending;
+ QHash<uint64_t, QSharedPointer<QIOQnxSource>> sources;
+ QList<QSharedPointer<QIOQnxSource>> pending;
QAtomicInt running;
Thread<QQnxNativeServerPrivate> thread;
mutable QMutex mutex;