diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-10-07 10:56:50 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-10-07 16:16:07 (GMT) |
commit | 2dd5facac01df4a90fbf9b7ce666704fddaf9e4f (patch) | |
tree | 6e23b75546b991d9433714d7ba439ed50df592b0 /src/script/api/qscriptvalue_p.h | |
parent | df5cdc6d9a22ae11d607e9359a3bb9a80596fdb6 (diff) | |
download | Qt-2dd5facac01df4a90fbf9b7ce666704fddaf9e4f.zip Qt-2dd5facac01df4a90fbf9b7ce666704fddaf9e4f.tar.gz Qt-2dd5facac01df4a90fbf9b7ce666704fddaf9e4f.tar.bz2 |
Inline QScriptValuePrivate operator new and delete
Make allocation faster.
Diffstat (limited to 'src/script/api/qscriptvalue_p.h')
-rw-r--r-- | src/script/api/qscriptvalue_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/qscriptvalue_p.h b/src/script/api/qscriptvalue_p.h index 6cbda97..351d616 100644 --- a/src/script/api/qscriptvalue_p.h +++ b/src/script/api/qscriptvalue_p.h @@ -68,8 +68,8 @@ class QScriptValuePrivate { Q_DISABLE_COPY(QScriptValuePrivate); public: - void* operator new(size_t, QScriptEnginePrivate*); - void operator delete(void*); + inline void* operator new(size_t, QScriptEnginePrivate*); + inline void operator delete(void*); enum Type { JavaScriptCore, |