Conversation
|
Dang it why is the boat commit there. Oh well. |
|
Ready to merge. |
Should have probably made a separate fork to prevent that. |
|
Please keep the old boat code because we try to achieve feature accuracy |
|
That boat code is from this Pr #615 its a fix I just made a new branch based of my boat fix branch on accident |
|
If you don't mind me asking why did you make the PR a draft? |
|
There are examples where |
|
Also, I think it makes sense to get rid off |
|
Alright I'll work on it. |
|
I enabled all |
Description
This replaces all C-style casts in the codebase with their appropriate C++-style equivalent. This improves type safety.
Changes
Previous Behavior
The codebase relied on C-style cases like crazy. The C-style casts lack type safety and can performant multiple types of conversions implicitly.
Root Cause
The original code used C-style cases because they were new/didn't exist when this was written. This over time can make it harder to program especially when it in C++.
New Behavior
Most C=style casts now use their C++ equivalent.
Fix Implementation
AI Use Disclosure
No.