You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// guess that const method doesn't have side effects
85
85
if (f->nestedIn->isClassOrStruct() && !f->isConst() && !f->isStatic())
86
-
sideEffectInAssertError(tmp, f->name()); // Non-const member function called, assume it has side effects
86
+
sideEffectInAssertError(tmp, f->name(), " If there are no side effects, consider declaring the method const."); // Non-const member function called, assume it has side effects
0 commit comments