From e5ccb9a0a1b60b0f357fe7972ba4221a0b36d51e Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 19 Jan 2015 18:52:30 +0300 Subject: [PATCH] Windows compatibility --- src/Plugins/MEDReader/IO/vtkELNOFilter.cxx | 2 +- src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/MEDReader/IO/vtkELNOFilter.cxx b/src/Plugins/MEDReader/IO/vtkELNOFilter.cxx index 46d7a379..f136e4e8 100644 --- a/src/Plugins/MEDReader/IO/vtkELNOFilter.cxx +++ b/src/Plugins/MEDReader/IO/vtkELNOFilter.cxx @@ -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()); diff --git a/src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx b/src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx index ec410710..513b0637 100644 --- a/src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx +++ b/src/Plugins/MEDReader/IO/vtkELNOMeshFilter.cxx @@ -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())) { -- 2.39.2