aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/jsextensions/propertylist_darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/jsextensions/propertylist_darwin.h')
-rw-r--r--src/lib/corelib/jsextensions/propertylist_darwin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/corelib/jsextensions/propertylist_darwin.h b/src/lib/corelib/jsextensions/propertylist_darwin.h
index 75900b144..279309681 100644
--- a/src/lib/corelib/jsextensions/propertylist_darwin.h
+++ b/src/lib/corelib/jsextensions/propertylist_darwin.h
@@ -50,6 +50,8 @@
#include <QtScript/qscriptable.h>
#include <QtScript/qscriptvalue.h>
+#include <memory>
+
namespace qbs {
namespace Internal {
@@ -78,7 +80,7 @@ public:
Q_INVOKABLE QString toXMLString() const;
Q_INVOKABLE QString toJSON(const QString &style = QString()) const;
private:
- PropertyListPrivate *d;
+ const std::unique_ptr<PropertyListPrivate> d;
};
} // namespace Internal