Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embrace nullptr over NULL and 0 #11760

Merged
merged 1 commit into from Apr 18, 2023

Conversation

Minty-Meeo
Copy link
Member

This PR extracts the functional changes to Dolphin's source code from PR #11709, as that PR is held up by requiring CMake 3.25 support on all platforms. Preferring nullptr over zero as a null pointer constant is a coding guideline for the Dolphin Emulator project, as well as a C++ Core Guideline, though I'm sure I don't have to tell you this.

Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (untested).

One style remark, but this could potentially be punted to a later point that forces consistency across everything (rather than consistency inside the file)

Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp Outdated Show resolved Hide resolved
@AdmiralCurtiss AdmiralCurtiss merged commit 2e7f0d0 into dolphin-emu:master Apr 18, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants