-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix file function constness #786
Conversation
Looks like your approval is yet non consequential :D |
I have evidence that these were not const in the original. Is there a reason to deviate from that? |
Yes. const correctness is important. |
To elaborate on const correctness, here is article: In a nutshell, anything that is meant to be immutable should be marked
|
913c523
to
7e4ebc8
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #786 +/- ##
========================================
Coverage 2.53% 2.53%
========================================
Files 949 949
Lines 110293 110293
Branches 18881 18881
========================================
Hits 2800 2800
Misses 107089 107089
Partials 404 404 ☔ View full report in Codecov by Sentry. |
Adds
const
to File member functions, but not yet the virtual functions.