mirror of
https://github.com/jbagg/QtZeroConf.git
synced 2025-08-01 18:34:26 +02:00
Change to QExplicitlySharedDataPointer
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef QZEROCONFSERVICE_H
|
||||
#define QZEROCONFSERVICE_H
|
||||
|
||||
#include <QSharedDataPointer>
|
||||
#include <QExplicitlySharedDataPointer>
|
||||
#include <QHostAddress>
|
||||
#include "qzeroconfglobal.h"
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
bool operator==(const QZeroConfService &rhs) const;
|
||||
|
||||
private:
|
||||
QSharedDataPointer<QZeroConfServiceData> data;
|
||||
QExplicitlySharedDataPointer<QZeroConfServiceData> data;
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(QZeroConfService)
|
||||
|
Reference in New Issue
Block a user