-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change return type of BasicIo::tell() to size_t #2251
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2251 +/- ##
==========================================
+ Coverage 63.46% 63.47% +0.01%
==========================================
Files 118 118
Lines 19612 19608 -4
Branches 9566 9560 -6
==========================================
Hits 12447 12447
+ Misses 5096 5094 -2
+ Partials 2069 2067 -2
Continue to review full report at Codecov.
|
This pull request fixes 1 alert when merging 03bd3a8 into 7ebf2a1 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 249bd77 into 7ebf2a1 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 6570f30 into 7ebf2a1 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 7e69e6a into 7ebf2a1 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging d23fc63 into 7ebf2a1 - view on LGTM.com fixed alerts:
|
d23fc63
to
ad4e13b
Compare
By the way, Windows has a function named |
This pull request fixes 1 alert when merging ad4e13b into 7ebf2a1 - view on LGTM.com fixed alerts:
|
This is another step towards eliminating the
long
type from the codebase. The main change is to change the return type ofBasicIo::tell()
tosize_t
. Previously,FileIo::tell()
could return a negative number as an error code, so I have replaced that with anenforce
in the implementation ofFileIo::tell()
.