Skip to content

Commit d9a41f0

Browse files
committedJan 9, 2025··
Update A2-10-4 after QL changes
1 parent 17e2a1e commit d9a41f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cpp/autosar/src/rules/A2-10-4/IdentifierNameOfStaticNonMemberObjectReusedInNamespace.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CandidateVariable extends Variable {
2222
isStatic() and
2323
not this instanceof MemberVariable and
2424
//exclude partially specialized template variables
25-
not exists(TemplateVariable v | this = v.getAnInstantiation())
25+
not this.isSpecialization()
2626
}
2727
}
2828

0 commit comments

Comments
 (0)
Please sign in to comment.