diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index d589dbf7c..e45849790 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -748,7 +748,7 @@ void CheckClass::operatorEq() tok1 = tok1->previous(); } - tok2 = tok->next(); + tok2 = tok->next(); } } //---------------------------------------------------------------------------