you should use nullptr instead of NULL, for checking if pointers are null in c++. #3

Closed
opened 2024-09-11 00:13:41 +00:00 by KieranCrossland · 2 comments
KieranCrossland commented 2024-09-11 00:13:41 +00:00 (Migrated from github.com)

Checking if a pointer is NULL is technically correct, but its the C-way of doing things. In c++ there is a dedicated keyword, nullptr that should be used instead.

Checking if a pointer is NULL is technically correct, but its the C-way of doing things. In c++ there is a dedicated keyword, nullptr that should be used instead.
EvanatorM commented 2024-09-13 12:15:21 +00:00 (Migrated from github.com)

Thanks for looking through the code! This will be fixed in the next release

Thanks for looking through the code! This will be fixed in the next release
EvanatorM commented 2024-09-20 11:54:36 +00:00 (Migrated from github.com)

This has been resolved

This has been resolved
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TheZone/ScuffedMinecraft#3
No description provided.