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),
@ -76,6 +77,15 @@ class Operation : virtual public Referenced
protected:
Operation():
Referenced(true),
_keep(false) {}
Operation(const Operation& op):
Referenced(true),
_name(op._name),
_keep(op._keep) {}
virtual ~Operation() {}
std::string _name;