[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/outputviews
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2004-10-28 22:12:49
Message-ID: 20041028221249.76A1616C11 () office ! kde ! org
[Download RAW message or body]
CVS commit by neundorf:
-tiny micro optimization
Alex
M +2 -2 compileerrorfilter.cpp 1.12
--- kdevelop/parts/outputviews/compileerrorfilter.cpp #1.11:1.12
@@ -71,9 +71,9 @@ void CompileErrorFilter::processLine( co
int i = 0;
bool isWarning = false;
- ErrorFormat* errFormats = errorFormats();
+ ErrorFormat* const errFormats = errorFormats();
ErrorFormat* format = &errFormats[i];
while( !format->expression.isEmpty() )
{
- QRegExp regExp = format->expression;
+ QRegExp& regExp = format->expression;
if ( regExp.search( line ) != -1 ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic