X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.cxx;h=baf34f86bc35daa0e393d35388bd50633aa11ba8;hb=58f6f4201ec9091b5150f6576da25bfedeabbdce;hp=c6b44b6f15792d861a13014759b8a9d0483a09ed;hpb=41796e945c3027937cedda97d1762bc0a5193c3c;p=clitk.git diff --git a/vv/vvToolProfile.cxx b/vv/vvToolProfile.cxx index c6b44b6..baf34f8 100644 --- a/vv/vvToolProfile.cxx +++ b/vv/vvToolProfile.cxx @@ -615,7 +615,7 @@ void vvToolProfile::InitializeLine() unsigned char red[3] = { 255, 0, 0 }; vtkSmartPointer colors = vtkSmartPointer::New(); colors->SetNumberOfComponents(3); -#if VTK_MAJOR_VERSION >= 7 && VTK_MINOR_VERSION >= 1 +#if VTK_MAJOR_VERSION >= 8 || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION >= 1) colors->InsertNextTypedTuple(red); #else colors->InsertNextTupleValue(red);