summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptvalue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptvalue.cpp')
-rw-r--r--src/script/qscriptvalue.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/script/qscriptvalue.cpp b/src/script/qscriptvalue.cpp
index d99e912..608fef3 100644
--- a/src/script/qscriptvalue.cpp
+++ b/src/script/qscriptvalue.cpp
@@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE
/*! \internal
*/
-struct QScriptValuePrivatePointerHandler
+struct QScriptValuePrivatePointerDeleter
{
static inline void cleanup(QScriptValuePrivate *d)
{
@@ -71,12 +71,6 @@ struct QScriptValuePrivatePointerHandler
delete d;
}
}
-
- static inline void reset(QScriptValuePrivate *&d, QScriptValuePrivate *other)
- {
- cleanup(d);
- d = other;
- }
};
/*!