Skip to content

Commit b309b71

Browse files
authored
Merge pull request github#5173 from criemen/bsl-swap
C++: Model bsl functions in Swap.qll.
2 parents 1c2b9f9 + 3afe934 commit b309b71

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/Swap.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import semmle.code.cpp.models.interfaces.Alias
99
* ```
1010
*/
1111
private class Swap extends DataFlowFunction {
12-
Swap() { this.hasQualifiedName("std", "swap") }
12+
Swap() { this.hasQualifiedName(["std", "bsl"], "swap") }
1313

1414
override predicate hasDataFlow(FunctionInput input, FunctionOutput output) {
1515
input.isParameterDeref(0) and

0 commit comments

Comments
 (0)