To remove the 'old-style casting' warnings, replaced the old (type) cast to static_cast, dynamic_cast or reinterpret_cast
Details
Details
Diff Detail
Diff Detail
- Repository
- R337 KTurtle
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/sprite.cpp | ||
---|---|---|
59–60 | This might be a stupid question but isn't it enough to write just sqrt(2.0) or sqrt(2.0L) ? |
Comment Actions
This will have some conflict with D16463. Remember to update this if that lands first.
Comment Actions
Note you have changed the indentation of the modified lines. Make sure indentation isn't changed (unless it's required specificly).
Comment Actions
a .editorconfig file with the correct configuration for the project will save some time for this in the future. I'll send a .editorconfig file for the projects that my students are working on.
src/canvas.cpp | ||
---|---|---|
114–115 | This was using space and she changed to tabs, I'll allow this pass. |