Skip to content

Commit c35b385

Browse files
committed
C++: Fix 'implicit this' warning.
1 parent 93346a5 commit c35b385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/Location.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Location extends @location {
7373

7474
/** Holds if `this` comes on a line strictly before `l`. */
7575
pragma[inline]
76-
predicate isBefore(Location l) { isBefore(l, false) }
76+
predicate isBefore(Location l) { this.isBefore(l, false) }
7777

7878
/**
7979
* Holds if `this` comes strictly before `l`. The boolean `sameLine` is

0 commit comments

Comments
 (0)