forked from qt-creator/qt-creator
Reserve space for m_scratchBuffer
Change-Id: I2ecddb9af2c75c8e8a4d7b87995d4d0831b0481e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -740,6 +740,7 @@ Preprocessor::Preprocessor(Client *client, Environment *env)
|
||||
, m_expandFunctionlikeMacros(true)
|
||||
, m_keepComments(false)
|
||||
{
|
||||
m_scratchBuffer.reserve(256);
|
||||
}
|
||||
|
||||
QByteArray Preprocessor::run(const Utils::FilePath &filePath,
|
||||
|
||||
Reference in New Issue
Block a user