We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c2b9f9 + 3afe934 commit b309b71Copy full SHA for b309b71
cpp/ql/src/semmle/code/cpp/models/implementations/Swap.qll
@@ -9,7 +9,7 @@ import semmle.code.cpp.models.interfaces.Alias
9
* ```
10
*/
11
private class Swap extends DataFlowFunction {
12
- Swap() { this.hasQualifiedName("std", "swap") }
+ Swap() { this.hasQualifiedName(["std", "bsl"], "swap") }
13
14
override predicate hasDataFlow(FunctionInput input, FunctionOutput output) {
15
input.isParameterDeref(0) and
0 commit comments