epezent / implot

Immediate Mode Plotting
MIT License
4.55k stars 503 forks source link

Embrace 'nullptr' #465

Closed Minty-Meeo closed 1 year ago

Minty-Meeo commented 1 year ago

Hello. This PR is the next step of a multi-codebase crusade against using zero as a null pointer constant. I have made a PR for Imgui with similar changes.

ocornut commented 1 year ago

Thank you!

@epezent I took the liberty to merge this. I contemplated adding the warning pragma/push warning disable as the big files in imgui codebase, but my main reason for not applying the same in imgui codebase don't apply nearly as much here so I thought it would be sane to simply go ahead and use nullptr.

epezent commented 1 year ago

Thanks Omar!