aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs/parser/commandlineparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs/parser/commandlineparser.h')
-rw-r--r--src/app/qbs/parser/commandlineparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/qbs/parser/commandlineparser.h b/src/app/qbs/parser/commandlineparser.h
index d47657b16..70586b2d4 100644
--- a/src/app/qbs/parser/commandlineparser.h
+++ b/src/app/qbs/parser/commandlineparser.h
@@ -44,6 +44,8 @@
#include <QtCore/qstringlist.h>
#include <QtCore/qvariant.h>
+#include <memory>
+
namespace qbs {
class BuildOptions;
class CleanOptions;
@@ -90,7 +92,7 @@ public:
private:
class CommandLineParserPrivate;
- CommandLineParserPrivate *d;
+ std::unique_ptr<CommandLineParserPrivate> d;
};
} // namespace qbs