mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
pre-allocate one QScriptItem object
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
870aa20c01
commit
01482d9db8
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ struct Q_AUTOTEST_EXPORT QScriptItem
|
|||
};
|
||||
Q_DECLARE_TYPEINFO(QScriptItem, Q_PRIMITIVE_TYPE);
|
||||
|
||||
typedef QVarLengthArray<QScriptItem> QScriptItemArray;
|
||||
typedef QVarLengthArray<QScriptItem, 1> QScriptItemArray;
|
||||
|
||||
struct Q_AUTOTEST_EXPORT QScriptLine
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue