forked from qt-creator/qt-creator
Reserve some space.
This commit is contained in:
@@ -495,6 +495,7 @@ QByteArray Preprocessor::operator()(const QByteArray &filename,
|
||||
QByteArray Preprocessor::expand(const QByteArray &source)
|
||||
{
|
||||
QByteArray result;
|
||||
result.reserve(256);
|
||||
expand(source, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user