Commit c1ea5126 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Reserve some space.

parent d7e86c22
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment