Skip to content

Commit

Permalink
STYLE: Rename ITK_DISALLOW_COPY_AND_ASSIGN to ITK_DISALLOW_COPY_AND_MOVE
Browse files Browse the repository at this point in the history
Clarifies that the macro does not just disallow copy and assign, but
also move operations. Note that in this context, the term 'move' refers
to both move-construct and move-assign.

With this commit, the old macro name will remain available, as long as
'ITK_FUTURE_LEGACY_REMOVE = OFF' (which is the default).
  • Loading branch information
hjmjohnson authored and SimonRit committed Jan 27, 2025
1 parent 96e7b8c commit ad188e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion documentation/Doxygen/doxygen.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,6 @@ PREDEFINED = "itkNotUsed(x)=" \
"ITK_NULLPTR= nullptr " \
"ITK_NOEXCEPT= noexcept " \
"ITK_DISALLOW_COPY_AND_MOVE(type)=" \
"ITK_DISALLOW_COPY_AND_ASSIGN(type)=" \
"ITK_FORCE_EXPORT_MACRO(X)="

# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
Expand Down

0 comments on commit ad188e9

Please sign in to comment.