Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51caee6

Browse files
committed
CPP: Update comment so that it no longer contains (incorrect) line numbers.
1 parent fa1347f commit 51caee6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import LeapYear
1717
* NOTE:
1818
* To change this class to work for general purpose date transformations that do not check the return value,
1919
* make the following changes:
20-
* -> extends FieldAccess (line 27)
21-
* -> this.isModified (line 33)
20+
* - change `extends LeapYearFieldAccess` to `extends FieldAccess`.
21+
* - change `this.isModifiedByArithmeticOperation()` to `this.isModified()`.
2222
* Expect a lower precision for a general purpose version.
2323
*/
2424
class DateStructModifiedFieldAccess extends LeapYearFieldAccess {

0 commit comments

Comments
 (0)