Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54bd36d commit 7012bc0Copy full SHA for 7012bc0
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/StdString.qll
@@ -101,7 +101,7 @@ private class StdStringData extends TaintFunction {
101
*/
102
private class StdStringPush extends TaintFunction {
103
StdStringPush() {
104
- this.getDeclaringType().(ClassTemplateInstantiation) instanceof StdBasicString and
+ this.getDeclaringType() instanceof StdBasicString and
105
this.hasName("push_back")
106
}
107
0 commit comments