Fixed #2425 (segmentation fault of cppcheck)
This commit is contained in:
parent
5eeb18dcd7
commit
56ffde402f
|
@ -1574,7 +1574,8 @@ void SymbolDatabase::SpaceInfo::initializeVarList(const Func &func, std::list<st
|
|||
}
|
||||
|
||||
// Calling member function?
|
||||
else if (Token::simpleMatch(ftok, "operator = ("))
|
||||
else if (Token::simpleMatch(ftok, "operator = (") &&
|
||||
ftok->previous()->str() != "::")
|
||||
{
|
||||
// check if member function exists
|
||||
std::list<Func>::const_iterator it;
|
||||
|
|
Loading…
Reference in New Issue