tokenlist::createAst(); should not be const.
This commit is contained in:
parent
bf1565bd34
commit
5a8574cc05
|
@ -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());
|
||||
|
|
|
@ -126,7 +126,7 @@ public:
|
|||
*/
|
||||
unsigned long long calculateChecksum() const;
|
||||
|
||||
void createAst() const;
|
||||
void createAst();
|
||||
|
||||
private:
|
||||
/** Disable copy constructor, no implementation */
|
||||
|
|
Loading…
Reference in New Issue