Skip to content

Commit 12702b5

Browse files
committed
C++: Fix deprecation warning
1 parent 9123657 commit 12702b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/dataflow/ProductFlow.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,14 @@ module ProductFlow {
295295
predicate isSource(DataFlow::Node source, FlowState state) {
296296
exists(Flow1::PathNode source1 |
297297
Config::isSourcePair(source1.getNode(), source1.getState(), source, state) and
298-
Flow1::hasFlowPath(source1, _)
298+
Flow1::flowPath(source1, _)
299299
)
300300
}
301301

302302
predicate isSink(DataFlow::Node sink, FlowState state) {
303303
exists(Flow1::PathNode sink1 |
304304
Config::isSinkPair(sink1.getNode(), sink1.getState(), sink, state) and
305-
Flow1::hasFlowPath(_, sink1)
305+
Flow1::flowPath(_, sink1)
306306
)
307307
}
308308

0 commit comments

Comments
 (0)