Skip to content

Commit 258b61c

Browse files
geoffw0jbj
andauthored
Update cpp/ql/src/semmle/code/cpp/models/implementations/StdContainer.qll
Co-authored-by: Jonas Jensen <jbj@github.com>
1 parent 689c637 commit 258b61c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/StdContainer.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class StdSequenceContainerConstructor extends Constructor, TaintFunction {
2525
* value type of the container.
2626
*/
2727
int getAValueTypeParameterIndex() {
28-
getParameter(result).getType().getUnspecifiedType().(ReferenceType).getBaseType() =
28+
getParameter(result).getUnspecifiedType().(ReferenceType).getBaseType() =
2929
getDeclaringType().getTemplateArgument(0) // i.e. the `T` of this `std::vector<T>`
3030
}
3131

0 commit comments

Comments
 (0)