diff --git a/cpp/ql/lib/utils/test/dataflow/FlowTestCommon.qll b/cpp/ql/lib/utils/test/dataflow/FlowTestCommon.qll index 0effb698f419..e4eec5dbe126 100644 --- a/cpp/ql/lib/utils/test/dataflow/FlowTestCommon.qll +++ b/cpp/ql/lib/utils/test/dataflow/FlowTestCommon.qll @@ -26,7 +26,7 @@ module IRFlowTest implements TestSig { n = strictcount(int line, int column | Flow::flow(any(IRDataFlow::Node otherSource | - otherSource.hasLocationInfo(_, line, column, _, _) + otherSource.getLocation().hasLocationInfo(_, line, column, _, _) ), sink) ) and ( @@ -55,7 +55,7 @@ module AstFlowTest implements TestSig { n = strictcount(int line, int column | Flow::flow(any(AstDataFlow::Node otherSource | - otherSource.hasLocationInfo(_, line, column, _, _) + otherSource.getLocation().hasLocationInfo(_, line, column, _, _) ), sink) ) and (