]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Mon, 19 Jan 2015 15:52:30 +0000 (18:52 +0300)
committerana <ana@opencascade.com>
Mon, 19 Jan 2015 15:52:30 +0000 (18:52 +0300)
src/Plugins/MEDReader/IO/vtkELNOFilter.cxx
src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx

index 46d7a37954bbccb2b8a4abefe35872549b9948ba..f136e4e8f5f41018f45be397b97627d71ddb5981 100644 (file)
@@ -74,7 +74,7 @@ int vtkELNOFilter::RequestData(vtkInformation *request, vtkInformationVector **i
     return 0;
   
   int dictSize(key->Size(info));
-  vtkQuadratureSchemeDefinition **dict(new vtkQuadratureSchemeDefinition *[dictSize]);
+  vtkQuadratureSchemeDefinition **dict = new vtkQuadratureSchemeDefinition *[dictSize];
   key->GetRange(info, dict, 0, 0, dictSize);
 
   vtkIdType ncell(usgIn->GetNumberOfCells());
index ec4107105ffde4005ff95bbfcdb796c039410d78..513b063705f4f7ae412829a7811e116d77a83e2d 100644 (file)
@@ -108,7 +108,7 @@ int vtkELNOMeshFilter::RequestData(vtkInformation *request,
   for(int index = 0; index < fielddata->GetNumberOfArrays(); index++)
     {
       vtkDataArray *data(fielddata->GetArray(index));
-      vtkQuadratureSchemeDefinition **dict(0);
+      vtkQuadratureSchemeDefinition **dict = 0;
       vtkInformationQuadratureSchemeDefinitionVectorKey *key(vtkQuadratureSchemeDefinition::DICTIONARY());
       if(key->Has(data->GetInformation()))
         {