Skip to content

Commit 759324c

Browse files
geoffw0jbj
andauthored
Update cpp/ql/src/semmle/code/cpp/models/implementations/StdPair.qll
Co-authored-by: Jonas Jensen <jbj@github.com>
1 parent 11587c9 commit 759324c

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import semmle.code.cpp.models.interfaces.Taint
88
* Additional model for `std::pair` constructors.
99
*/
1010
class StdPairConstructor extends Constructor, TaintFunction {
11-
StdPairConstructor() { this.getDeclaringType().hasQualifiedName("std", "pair") }
11+
StdPairConstructor() { this.hasQualifiedName("std", "pair", "pair") }
1212

1313
/**
1414
* Gets the index of a parameter to this function that is a reference to

0 commit comments

Comments
 (0)