const functions: fixed false negatives for the type P. ticket: #1884

This commit is contained in:
Robert Reif 2010-09-06 19:04:14 +02:00 committed by Daniel Marjamäki
parent cfbc06c8b6
commit 28c5893ee0
1 changed files with 1 additions and 1 deletions

View File

@ -1948,7 +1948,7 @@ void CheckClass::checkConst()
}
}
if (allupper)
if (allupper && previous->str().size() > 2)
continue;
}
}