Skip to content

Fixed unused warnings in get/set enum macros / made getter const

Sean McBride requested to merge seanm/vtk:vtkSetEnumMacroWarning3 into master

Some compilers see through the cast-to-void trick, so just got rid of the temporaries entirely and jam everything into the vtkDebugMacro statement.

Also made the getter method const, since it doesn't mutate.

Backport: release
Backport: paraview/release

Edited by Ben Boeckel

Merge request reports

Loading