diff options
-rw-r--r-- | src/plugins/cppeditor/cpphighlighter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 7370b88ef0..ea738e756b 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -114,7 +114,7 @@ void CppHighlighter::highlightBlock(const QString &text) const unsigned firstNonSpace = tokens.first().utf16charsBegin(); Parentheses parentheses; - parentheses.reserve(20); // assume wizard level ;-) + parentheses.reserve(5); bool expectPreprocessorKeyword = false; bool onlyHighlightComments = false; |