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

Co-authored-by: Jonas Jensen <jbj@github.com>
This commit is contained in:
Geoffrey White
2020-09-28 16:51:21 +01:00
committed by GitHub
parent 11587c930b
commit 759324ca1b

View File

@@ -8,7 +8,7 @@ import semmle.code.cpp.models.interfaces.Taint
* Additional model for `std::pair` constructors.
*/
class StdPairConstructor extends Constructor, TaintFunction {
StdPairConstructor() { this.getDeclaringType().hasQualifiedName("std", "pair") }
StdPairConstructor() { this.hasQualifiedName("std", "pair", "pair") }
/**
* Gets the index of a parameter to this function that is a reference to