summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/qscriptstring.h')
-rw-r--r--src/script/api/qscriptstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/qscriptstring.h b/src/script/api/qscriptstring.h
index c141e76..b216703 100644
--- a/src/script/api/qscriptstring.h
+++ b/src/script/api/qscriptstring.h
@@ -44,7 +44,7 @@
#include <QtCore/qstring.h>
-#include <QtCore/qscopedpointer.h>
+#include <QtCore/qsharedpointer.h>
QT_BEGIN_HEADER
@@ -74,7 +74,7 @@ public:
operator QString() const;
private:
- QCustomScopedPointer<QScriptStringPrivate, QScriptStringPrivatePointerDeleter> d_ptr;
+ QExplicitlySharedDataPointer<QScriptStringPrivate> d_ptr;
friend class QScriptValue;
Q_DECLARE_PRIVATE(QScriptString)
};