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