Fixed VisualStudio warning

Added local implementation of asEventHandler()
This commit is contained in:
Robert Osfield 2016-10-07 14:51:39 +01:00
parent 268d89c426
commit 7ba7b13aa0

View File

@ -521,6 +521,9 @@ public:
virtual DrawableCullCallback* asDrawableCullCallback() { return osg::DrawableCullCallback::asDrawableCullCallback(); }
virtual const DrawableCullCallback* asDrawableCullCallback() const { return osg::DrawableCullCallback::asDrawableCullCallback(); }
virtual osgGA::EventHandler* asEventHandler() { return osgGA::EventHandler::asEventHandler(); }
virtual const osgGA::EventHandler* asEventHandler() const { return osgGA::EventHandler::asEventHandler(); }
// use the osgGA::GUIEventHandler implementation of run.
virtual bool run(osg::Object* object, osg::Object* data) { return osgGA::GUIEventHandler::run(object, data); }