Skip to content

Commit 1f9da28

Browse files
authored
Merge pull request #243 from jbj/CommentedOutCode-join-fix
C++: Fix join order in CommentedOutCode
2 parents 4767d85 + 19435e0 commit 1f9da28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Documentation/CommentedOutCode.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class CommentBlock extends Comment {
119119
*/
120120
predicate hasLocationInfo(string filepath, int startline, int startcolumn, int endline, int endcolumn) {
121121
this.getLocation().hasLocationInfo(filepath, startline, startcolumn, _, _) and
122-
this.lastComment().getLocation().hasLocationInfo(filepath, _, _, endline, endcolumn)
122+
this.lastComment().getLocation().hasLocationInfo(_, _, _, endline, endcolumn)
123123
}
124124
}
125125

0 commit comments

Comments
 (0)