Unify variable names

This commit is contained in:
Dmitry-Me 2017-09-15 00:44:59 +03:00
parent ef1f3fbee6
commit f28524fefa
1 changed files with 2 additions and 2 deletions

View File

@ -1102,8 +1102,8 @@ public:
const Scope *findScopeByName(const std::string& name) const;
const Type* findType(const Token *startTok, const Scope *startScope) const;
Type* findType(const Token *tok, Scope *startScope) const {
return const_cast<Type*>(this->findType(tok, const_cast<const Scope *>(startScope)));
Type* findType(const Token *startTok, Scope *startScope) const {
return const_cast<Type*>(this->findType(startTok, const_cast<const Scope *>(startScope)));
}
const Scope *findScope(const Token *tok, const Scope *startScope) const;