mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Fixed an unsafe method call.
This commit is contained in:
parent
078541c956
commit
9134d71fe5
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ public class TypeTraits {
|
|||
if (!classType.isSameType(baseClass) && !hasTrivialCopyCtor(baseClass, point))
|
||||
return false;
|
||||
}
|
||||
for (ICPPField field : classType.getDeclaredFields()) {
|
||||
for (ICPPField field : ClassTypeHelper.getDeclaredFields(classType, point)) {
|
||||
if (!field.isStatic()) {
|
||||
IType type = field.getType();
|
||||
type = SemanticUtil.getNestedType(type, TDEF | CVTYPE | ARRAY);
|
||||
|
|
Loading…
Add table
Reference in a new issue