Commit 632a9242 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Removed explicit destructors for vtkAtom and vtkBond

Neither was needed as they were both empty and did nothing - the
compiler generated destructor can do this and it fixes the Clang++
warnings on the dashboards.

Change-Id: If5bbaa77669058c82f8ad6a66256a9b712aa753e
parent 9007d128
......@@ -27,11 +27,6 @@ vtkAtom::vtkAtom(vtkMolecule *parent, vtkIdType id)
assert(id < parent->GetNumberOfAtoms());
}
//----------------------------------------------------------------------------
vtkAtom::~vtkAtom()
{
}
//----------------------------------------------------------------------------
void vtkAtom::PrintSelf(ostream &os, vtkIndent indent)
{
......
......@@ -28,8 +28,6 @@ class vtkVector3f;
class VTKCOMMONDATAMODEL_EXPORT vtkAtom
{
public:
~vtkAtom();
void PrintSelf(ostream &os, vtkIndent indent);
// Description:
......
......@@ -31,11 +31,6 @@ vtkBond::vtkBond(vtkMolecule *parent, vtkIdType id,
assert(endAtomId < parent->GetNumberOfAtoms());
}
//----------------------------------------------------------------------------
vtkBond::~vtkBond()
{
}
//----------------------------------------------------------------------------
void vtkBond::PrintSelf(ostream &os, vtkIndent indent)
{
......
......@@ -27,7 +27,6 @@ class vtkMolecule;
class VTKCOMMONDATAMODEL_EXPORT vtkBond
{
public:
~vtkBond();
void PrintSelf(ostream &os, vtkIndent indent);
// Description:
......
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