mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 564026: CPPSemantics.selectByArumentCount does not trim after
removing elements from the result array the list of candidate functions is filtered for redundant elements. The returned array must be shrunk to avoid NullpointerExceptions further down the road. Change-Id: I5f3c5a19433266dd20492241fd74edc43fbfc0ef Signed-off-by: Michael Woski <woskimi@yahoo.de>
This commit is contained in:
parent
65473abf07
commit
c7895abec0
1 changed files with 1 additions and 1 deletions
|
@ -2655,7 +2655,7 @@ public class CPPSemantics {
|
|||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return ArrayUtil.trim(result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue