Commit c9b2beea authored by Chris Harris's avatar Chris Harris

Fix hidden overloaded-virtual warning in vtkPNrrdReader

Provide implementation for other version of overloaded
method ReadHeader(vtkCharArray*). Simply delegate to the
superclass.

Change-Id: I32553c4cfde908957e3299455bb0a5ade67a9eca
parent 26205a56
......@@ -553,3 +553,9 @@ int vtkPNrrdReader::ReadHeader()
return this->Superclass::ReadHeader(headerBuffer);
}
//-----------------------------------------------------------------------------
int vtkPNrrdReader::ReadHeader(vtkCharArray *headerBuffer)
{
return this->Superclass::ReadHeader(headerBuffer);
}
......@@ -62,6 +62,7 @@ protected:
~vtkPNrrdReader();
virtual int ReadHeader();
virtual int ReadHeader(vtkCharArray *headerBuffer);
// Description:
// Returns the size, in bytes of the scalar data type (GetDataScalarType).
......
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