Fixed travis failure: use begin() instead of C++11 cbegin()

This commit is contained in:
PKEuS 2013-02-16 02:35:54 -08:00
parent 0388bec925
commit b27a3c802c
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ static bool checkFunctionUsage(const std::string& name, const Scope* scope)
return true;
}
for (std::list<Scope*>::const_iterator i = scope->nestedList.cbegin(); i != scope->nestedList.end(); ++i) {
for (std::list<Scope*>::const_iterator i = scope->nestedList.begin(); i != scope->nestedList.end(); ++i) {
if ((*i)->isClassOrStruct())
if (checkFunctionUsage(name, *i)) // Check nested classes, which can access private functions of their base
return true;