From cef7eecccfc0a69e1a7cc64459659c8b2caa91b9 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Tue, 19 Feb 2008 08:15:08 +0000 Subject: [PATCH] Providing portability with CAS-6.2.1sp1 --- src/VTKViewer/VTKViewer_ViewWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VTKViewer/VTKViewer_ViewWindow.cxx b/src/VTKViewer/VTKViewer_ViewWindow.cxx index 0e1ab38bb..e885ed8cc 100755 --- a/src/VTKViewer/VTKViewer_ViewWindow.cxx +++ b/src/VTKViewer/VTKViewer_ViewWindow.cxx @@ -455,8 +455,8 @@ void VTKViewer_ViewWindow::onAdjustTrihedron(){ (bnd[5]-bnd[4])*(bnd[5]-bnd[4])); }else{ aLength = bnd[1]-bnd[0]; - aLength = max((bnd[3]-bnd[2]),aLength); - aLength = max((bnd[5]-bnd[4]),aLength); + aLength = std::max((bnd[3]-bnd[2]),aLength); + aLength = std::max((bnd[5]-bnd[4]),aLength); } static vtkFloatingPointType aSizeInPercents = 105; -- 2.39.2