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 cf64055..6f9e3e4 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();