Commit 801cd7c6 authored by Dave Partyka's avatar Dave Partyka

ENH: fix up warnings. BUG: do not delete MultiProcessController as it is a global static.

parent 172f86e9
......@@ -33,7 +33,7 @@
#include "VPICDataSet.h"
vtkCxxRevisionMacro(vtkVPICReader, "1.7");
vtkCxxRevisionMacro(vtkVPICReader, "1.8");
vtkStandardNewMacro(vtkVPICReader);
//----------------------------------------------------------------------------
......@@ -86,18 +86,18 @@ vtkVPICReader::~vtkVPICReader()
this->data[var]->Delete();
}
this->SelectionObserver->Delete();
if(this->MPIController)
{
this->MPIController->Delete();
}
// Do not delete the MPIController it is Singleton like and will
// cleanup itself;
this->MPIController = NULL;
}
//----------------------------------------------------------------------------
// Verify that the file exists
//----------------------------------------------------------------------------
int vtkVPICReader::RequestInformation(
vtkInformation *reqInfo,
vtkInformationVector **inVector,
vtkInformation *vtkNotUsed(reqInfo),
vtkInformationVector **vtkNotUsed(inVector),
vtkInformationVector *outVector)
{
// Verify that file exists
......
......@@ -131,7 +131,7 @@ protected:
int RequestData(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
int RequestInformation(vtkInformation *, vtkInformationVector **,
int RequestInformation(vtkInformation *, vtkInformationVector **inVector,
vtkInformationVector *);
void LoadVariableData(int var, int timeStep);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment