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

STYLE: Remove obsolete CTK_NULLPTR macro not needed with C++ >= 11 #1120

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Jul 19, 2023

This commit replaces occurrences of the CTK_NULLPTR macro with nullptr.

This one-liner was used to perform the update:

git grep -l "CTK_NULLPTR" | fgrep -v CMakeLists.txt | fgrep -v .cmake | xargs sed -i '' -e "s/CTK_NULLPTR/nullptr/g"

Adapted from Slicer/Slicer@015d346b9 (STYLE: Replace ITK_NULLPTR with nullptr)

This commit replaces occurrences of the CTK_NULLPTR macro with nullptr.

This one-liner was used to perform the update:

git grep -l "CTK_NULLPTR" | fgrep -v CMakeLists.txt | fgrep -v .cmake | xargs sed -i '' -e "s/CTK_NULLPTR/nullptr/g"

Adapted from Slicer/Slicer@015d346b9 (STYLE: Replace ITK_NULLPTR with nullptr)
@jcfr jcfr merged commit 911d9a3 into commontk:master Jul 19, 2023
1 check passed
@jcfr jcfr deleted the remove-obsolete-ctk-nullptr-macro branch July 19, 2023 23:56
@jcfr jcfr mentioned this pull request Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant