Fixed broken condition
This commit is contained in:
parent
2f0db369f0
commit
7eee6af4ce
|
@ -3811,7 +3811,7 @@ const Function* Scope::findFunction(const Token *tok, bool requireConst) const
|
||||||
bool passesFloat = Token::Match(callarg->typeStartToken(), "float|double");
|
bool passesFloat = Token::Match(callarg->typeStartToken(), "float|double");
|
||||||
if ((takesInt && passesInt) || (takesFloat && passesFloat))
|
if ((takesInt && passesInt) || (takesFloat && passesFloat))
|
||||||
fallback1++;
|
fallback1++;
|
||||||
else if ((takesInt && passesFloat) || (takesInt && passesFloat))
|
else if ((takesInt && passesFloat) || (takesFloat && passesInt))
|
||||||
fallback2++;
|
fallback2++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue