Fixed the className() defintations to be const
This commit is contained in:
parent
bf6f27f6d3
commit
345298badd
@ -86,7 +86,7 @@ public:
|
||||
|
||||
typedef std::vector< osg::ref_ptr<GUIEventHandler> > ChildList;
|
||||
|
||||
virtual const char* className() { return "CompositeGUIEventHandler"; }
|
||||
virtual const char* className() const { return "CompositeGUIEventHandler"; }
|
||||
|
||||
virtual const CompositeGUIEventHandler* getComposite() const { return this; }
|
||||
|
||||
|
@ -34,7 +34,7 @@ class OSGGA_EXPORT KeySwitchMatrixManipulator : public MatrixManipulator
|
||||
{
|
||||
public:
|
||||
|
||||
virtual const char* className() { return "KeySwitchMatrixManipulator"; }
|
||||
virtual const char* className() const { return "KeySwitchMatrixManipulator"; }
|
||||
|
||||
/**
|
||||
Add a camera manipulator with an associated name, and a key to
|
||||
|
@ -34,7 +34,7 @@ public:
|
||||
StateSetManipulator();
|
||||
virtual ~StateSetManipulator();
|
||||
|
||||
virtual const char* className() { return "StateSetManipulator"; }
|
||||
virtual const char* className() const { return "StateSetManipulator"; }
|
||||
|
||||
/** attach a geostate to the manipulator to be used for specifying view.*/
|
||||
virtual void setStateSet(osg::StateSet*);
|
||||
|
Loading…
Reference in New Issue
Block a user