Allow using @NULL in interface/wx docs
This was previously disallowed by the code style check, but it's fine to use this, as it expands to `nullptr` and it's not worth changing all the existing occurrences of @NULL to @nullptr.
This commit is contained in:
parent
6456ddac57
commit
17ac31844d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/code_checks.yml
vendored
2
.github/workflows/code_checks.yml
vendored
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
if git diff origin/master \
|
||||
':!.github/workflows/code_checks.yml' \
|
||||
':!src/stc/scintilla/' \
|
||||
| grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|\WNULL)'; then
|
||||
| grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|[^_@]NULL)'; then
|
||||
echo "::error ::Please use C++11 equivalents of the deprecated macros in the new code."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue