summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptvalue_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptvalue_p.h')
-rw-r--r--src/script/qscriptvalue_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/qscriptvalue_p.h b/src/script/qscriptvalue_p.h
index 20adb29..ce9959b 100644
--- a/src/script/qscriptvalue_p.h
+++ b/src/script/qscriptvalue_p.h
@@ -91,7 +91,7 @@ inline QScriptValueImpl QScriptValuePrivate::valueOf(const QScriptValue &value)
inline void QScriptValuePrivate::init(QScriptValue &value, QScriptValuePrivate *p)
{
- value.d_ptr = p;
+ value.d_ptr.data_ptr() = p;
value.d_ptr->ref.ref();
}