astyle formatting

This commit is contained in:
Daniel Marjamäki 2009-11-02 20:25:08 +01:00
parent df3ffa2eda
commit bc3b12db72
3 changed files with 6 additions and 6 deletions

View File

@ -505,12 +505,12 @@ void CheckStl::find()
break;
if (tok2->varId() == iteratorid && Token::simpleMatch(tok2->previous(), "*"))
findError(tok2);
}
}
}
}
void CheckStl::findError(const Token *tok)
{
reportError(tok, Severity::error, "stlfind", "dangerous usage of find result");
reportError(tok, Severity::error, "stlfind", "dangerous usage of find result");
}

View File

@ -92,7 +92,7 @@ public:
* bad condition.. "it < alist.end()"
*/
void stlBoundries();
/** usage of std::find */
void find();

View File

@ -68,7 +68,7 @@ private:
TEST_CASE(stlBoundries1);
TEST_CASE(stlBoundries2);
TEST_CASE(stlBoundries3);
// find
TEST_CASE(find1);
}