mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Minor performance optimization.
Change-Id: I9274509f013abda8a7e7950caf204c7398a7476c
This commit is contained in:
parent
24c71972ba
commit
d9a08b007e
1 changed files with 2 additions and 1 deletions
|
@ -839,7 +839,8 @@ public class TemplateArgumentDeduction {
|
|||
// Try to deduce from the original argument type, but if it fails, fall back to the simplified
|
||||
// argument type.
|
||||
return fromType(p.getTypeValue(), a.getOriginalTypeValue(), false, point)
|
||||
|| fromType(p.getTypeValue(), a.getTypeValue(), false, point);
|
||||
|| (a.getTypeValue() != a.getOriginalTypeValue()
|
||||
&& fromType(p.getTypeValue(), a.getTypeValue(), false, point));
|
||||
}
|
||||
|
||||
private boolean fromType(IType p, IType a, boolean allowCVQConversion, IASTNode point) throws DOMException {
|
||||
|
|
Loading…
Add table
Reference in a new issue