Skip to content
Snippets Groups Projects
Commit 85b232f7 authored by Sean McBride's avatar Sean McBride
Browse files

Copy ivar when copying object to fix cppcheck warning

parent 72d1d6a0
No related branches found
No related tags found
No related merge requests found
......@@ -146,12 +146,14 @@ vtkMultiProcessStream::vtkMultiProcessStream(const vtkMultiProcessStream& other)
{
this->Internals = new vtkMultiProcessStream::vtkInternals();
this->Internals->Data = other.Internals->Data;
this->Endianness = other.Endianness;
}
//----------------------------------------------------------------------------
vtkMultiProcessStream& vtkMultiProcessStream::operator=(const vtkMultiProcessStream& other)
{
this->Internals->Data = other.Internals->Data;
this->Endianness = other.Endianness;
return (*this);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment