From 28c5893ee0a753d13a7014dc9b2258ee98582f0f Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Mon, 6 Sep 2010 19:04:14 +0200 Subject: [PATCH] const functions: fixed false negatives for the type P. ticket: #1884 --- lib/checkclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index 0083a4783..e0333b71c 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -1948,7 +1948,7 @@ void CheckClass::checkConst() } } - if (allupper) + if (allupper && previous->str().size() > 2) continue; } }