Added default contructors to Operation

This commit is contained in:
Robert Osfield 2007-09-03 09:43:33 +00:00
parent ecb8d5f8ab
commit 2415b8e4b1

View File

@ -50,6 +50,7 @@ class RefBlockCount : virtual public osg::Referenced, public OpenThreads::BlockC
class Operation : virtual public Referenced
{
public:
Operation(const std::string& name, bool keep):
osg::Referenced(true),
_name(name),
@ -75,6 +76,15 @@ class Operation : virtual public Referenced
virtual void operator () (Object*) = 0;
protected:
Operation():
Referenced(true),
_keep(false) {}
Operation(const Operation& op):
Referenced(true),
_name(op._name),
_keep(op._keep) {}
virtual ~Operation() {}