Commit b3b294e6 authored by loring's avatar loring

fix a warning in avtUserDefinedMapper

warning was: base class ‘class vtkDataSetMapper’ should be
explicitly initialized in the copy constructor. the copy
constructor and assigment operator had empty implementations.
However this looks like a typo, they should not have been
implemented as is common practice in vtk.


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@26811 18c085ea-50e0-402c-830e-de6fd14e8384
parent 22eaf416
......@@ -66,6 +66,7 @@
// ****************************************************************************
avtUserDefinedMapper::avtUserDefinedMapper(avtCustomRenderer_p r)
: avtMapper()
{
renderer = r;
}
......@@ -436,7 +437,7 @@ vtkUserDefinedMapperBridge::New(void)
//
// ****************************************************************************
vtkUserDefinedMapperBridge::vtkUserDefinedMapperBridge()
vtkUserDefinedMapperBridge::vtkUserDefinedMapperBridge() : vtkDataSetMapper()
{
ren = NULL;
}
......
......@@ -154,9 +154,8 @@ class PLOTTER_API vtkUserDefinedMapperBridge : public vtkDataSetMapper
vtkUserDefinedMapperBridge();
virtual ~vtkUserDefinedMapperBridge();
vtkUserDefinedMapperBridge(const
vtkUserDefinedMapperBridge&) {};
void operator=(const vtkUserDefinedMapperBridge&) {};
vtkUserDefinedMapperBridge(const vtkUserDefinedMapperBridge&);
void operator=(const vtkUserDefinedMapperBridge&);
avtCustomRenderer_p ren;
};
......
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