summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/devicesupport/idevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/devicesupport/idevice.h')
-rw-r--r--src/plugins/projectexplorer/devicesupport/idevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/idevice.h b/src/plugins/projectexplorer/devicesupport/idevice.h
index c040fab334..493b7b306e 100644
--- a/src/plugins/projectexplorer/devicesupport/idevice.h
+++ b/src/plugins/projectexplorer/devicesupport/idevice.h
@@ -38,6 +38,7 @@
#include <QVariantMap>
#include <functional>
+#include <memory>
QT_BEGIN_NAMESPACE
class QWidget;
@@ -214,7 +215,7 @@ private:
int version() const;
- Internal::IDevicePrivate *d;
+ const std::unique_ptr<Internal::IDevicePrivate> d;
friend class DeviceManager;
};