Commit 5d3b06e6 authored by Brad King's avatar Brad King
Browse files

ERR: Added virtual destructor to avoid warning in subclasses.

parent d48d6445
......@@ -38,6 +38,11 @@ vtkOStreamWrapper::vtkOStreamWrapper(vtkOStreamWrapper& r): ostr(r.ostr)
{
}
//----------------------------------------------------------------------------
vtkOStreamWrapper::~vtkOStreamWrapper()
{
}
//----------------------------------------------------------------------------
vtkOStreamWrapper& vtkOStreamWrapper::operator << (const EndlType&)
{
......
......@@ -41,7 +41,10 @@ public:
// operators will be forwarded.
vtkOStreamWrapper(ostream& os);
vtkOStreamWrapper(vtkOStreamWrapper& r);
// Description:
virtual ~vtkOStreamWrapper();
// Description:
// Type for a fake endl.
struct EndlType {};
......
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