From: vsr Date: Fri, 27 Nov 2015 09:22:06 +0000 (+0300) Subject: Another compilation error on Mageia 5 X-Git-Tag: V8_0_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd8f63e177668f374f675a3163750e31abf2c4b6;p=modules%2Fsmesh.git Another compilation error on Mageia 5 --- diff --git a/src/OBJECT/SMESH_DeviceActor.cxx b/src/OBJECT/SMESH_DeviceActor.cxx index cf6405554..6f9e3e44c 100644 --- a/src/OBJECT/SMESH_DeviceActor.cxx +++ b/src/OBJECT/SMESH_DeviceActor.cxx @@ -297,7 +297,7 @@ SMESH_DeviceActor SMESH_ScalarBarActor* theScalarBarActor, vtkLookupTable* theLookupTable) { - bool anIsInitialized = theFunctor; + bool anIsInitialized = theFunctor != NULL; if(anIsInitialized){ vtkUnstructuredGrid* aDataSet = vtkUnstructuredGrid::New();