]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Win32 compatibility
authorana <ana@opencascade.com>
Thu, 25 Sep 2014 14:01:52 +0000 (18:01 +0400)
committerana <ana@opencascade.com>
Thu, 25 Sep 2014 14:01:52 +0000 (18:01 +0400)
src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx
src/Plugins/MEDReader/IO/vtkGenerateVectors.cxx

index 1eb4c7ab056d6b2ec824295e1fe814848c16a678..deffb070004351a10bba3a84d1d0d2018f84bbf6 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()))
         {
index 10ac90587a78b63263937c4cbce709a82a5ac28d..89266bbdbe7c028c116c09b323bf6214542654f2 100644 (file)
@@ -128,7 +128,7 @@ void vtkGenerateVectors::UpdateInformationOfArray(vtkDoubleArray *oldArr, vtkDou
   if(key->Has(oldArr->GetInformation()))
     {
       int dictSize(key->Size(oldArr->GetInformation()));
-      vtkQuadratureSchemeDefinition **dict(new vtkQuadratureSchemeDefinition *[dictSize]);
+      vtkQuadratureSchemeDefinition **dict = new vtkQuadratureSchemeDefinition *[dictSize];
       key->GetRange(oldArr->GetInformation(),dict,0,0,dictSize);
       key->SetRange(arr->GetInformation(),dict,0,0,dictSize);
       delete [] dict;