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.
Comment Actions
Check your Indentation you seam to have moved all your modified lines in a bit.
src/editor.cpp | ||
---|---|---|
427 | In this situation we can do this. if (pointer) { pointer is something } else { pointer is null } since any non 0 value is true if your pointer has be initialized will be "true" |
src/mainwindow.cpp | ||
---|---|---|
139 | Missed one |
src/mainwindow.cpp | ||
---|---|---|
139 | check your logic here. if(!colorPicker) here |
Comment Actions
Oh you're doing this manually?
You really want to be using a tool for this
https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
has some example of how to use clang-tidy to run the modernize-use-nullptr "checker"