]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Another compilation error on Mageia 5
authorvsr <vsr@opencascade.com>
Fri, 27 Nov 2015 09:22:06 +0000 (12:22 +0300)
committervsr <vsr@opencascade.com>
Fri, 27 Nov 2015 09:22:06 +0000 (12:22 +0300)
src/OBJECT/SMESH_DeviceActor.cxx

index cf64055548d061995597599ddb4dd94a79305c8e..6f9e3e44cab8a2a4e818e4c6da0fb3bebddd397b 100644 (file)
@@ -297,7 +297,7 @@ SMESH_DeviceActor
                  SMESH_ScalarBarActor* theScalarBarActor,
                  vtkLookupTable* theLookupTable)
 {
-  bool anIsInitialized = theFunctor;
+  bool anIsInitialized = theFunctor != NULL;
   if(anIsInitialized){
     vtkUnstructuredGrid* aDataSet = vtkUnstructuredGrid::New();