Skip to content

Issue #17740: add std:: namespace to calls to abs()

Sean McBride requested to merge seanm/vtk:std-abs-17740 into master

Follow up to 03750623 where removing 'using namespace std' caused existing calls to abs() to use the one in the global namespace, which is not templated.

In reviewing all calls in abs() in this file, also:

  • changed an fabs to std::abs
  • changes some defines to actual const variables
  • include cmath

Merge request reports