Repository navigation
Add explicit keyword to constructors - #281
thekurtovic wants to merge 2 commits into
Conversation
|
LogAlso Do you think it's better to just create a new constructor which can take a uint16_t, or change such instances like this? I've gone with the latter (though I excluded the file from the commit for now), though adding the new constructor would probably make it easier to read Edit: Or this |
|
I think |
|
Would this be considered a breaking change? Any applications making use of these implicit conversions will fail to compile, though the changes should be easy to make. |
|
It might be, depending on the application. I would suggest adding the HID changes to this PR so we can test the builds at least. Maybe add some more build tests to find where it may fail so it can be documented? |
d307e00 to
f9afdc9
Compare
c029c5f to
6ab0376
Compare
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
Walkthrough
Merge Risk:
|
Resolves cppcheck warnings noExplicitConstructor, and useInitializationList.
6fbcb7e to
66b65ef
Compare
99712b5 to
fb0574f
Compare
Resolves cppcheck warnings noExplicitConstructor, useInitializationList, and passedByValue.
Summary by CodeRabbit