tokenlist::createAst(); should not be const.

This commit is contained in:
orbitcowboy 2015-01-20 11:22:22 +01:00
parent bf1565bd34
commit 5a8574cc05
2 changed files with 2 additions and 2 deletions

View File

@ -963,7 +963,7 @@ static Token * createAstAtToken(Token *tok, bool cpp)
return tok;
}
void TokenList::createAst() const
void TokenList::createAst()
{
for (Token *tok = _front; tok; tok = tok ? tok->next() : NULL) {
tok = createAstAtToken(tok, isCPP());

View File

@ -126,7 +126,7 @@ public:
*/
unsigned long long calculateChecksum() const;
void createAst() const;
void createAst();
private:
/** Disable copy constructor, no implementation */