From cd8f63e177668f374f675a3163750e31abf2c4b6 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 27 Nov 2015 12:22:06 +0300 Subject: [PATCH] Another compilation error on Mageia 5 --- src/OBJECT/SMESH_DeviceActor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2