tokenize: Improved const correctness. There are no functional changes.

This commit is contained in:
orbitcowboy 2016-10-31 16:11:11 +01:00
parent a81920cae1
commit b3c60bf6b2
2 changed files with 2 additions and 2 deletions

View File

@ -2415,7 +2415,7 @@ static void setVarIdStructMembers(Token **tok1,
} }
void Tokenizer::setVarIdClassDeclaration(Token * const startToken, void Tokenizer::setVarIdClassDeclaration(const Token * const startToken,
const std::map<std::string, unsigned int> &variableId, const std::map<std::string, unsigned int> &variableId,
const unsigned int scopeStartVarId, const unsigned int scopeStartVarId,
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers) std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers)

View File

@ -691,7 +691,7 @@ private:
void unsupportedTypedef(const Token *tok) const; void unsupportedTypedef(const Token *tok) const;
void setVarIdClassDeclaration(Token * const startToken, void setVarIdClassDeclaration(const Token * const startToken,
const std::map<std::string, unsigned int> &variableId, const std::map<std::string, unsigned int> &variableId,
const unsigned int scopeStartVarId, const unsigned int scopeStartVarId,
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers); std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers);