From Stephan Huber, "CLang / LLVM on OS X seems to have a problem compiling the osgGA-serializer. (It was reported before on the list, but the error is hard to track as it shows up only sometimes)

I fixed the compile-error with a dedicated destructor of osgGA::GUIEventHandler"
This commit is contained in:
Robert Osfield 2013-11-21 14:21:55 +00:00
parent 9a9efb1c58
commit 1b269a7711
2 changed files with 11 additions and 0 deletions

View File

@ -122,6 +122,10 @@ public:
protected:
unsigned int _ignoreHandledEventsMask;
#endif
protected:
virtual ~GUIEventHandler();
};
}

View File

@ -16,6 +16,13 @@
using namespace osgGA;
GUIEventHandler::~GUIEventHandler()
{
}
// adapt EventHandler usage to old style GUIEventHandler usage
bool GUIEventHandler::handle(osgGA::Event* event, osg::Object* object, osg::NodeVisitor* nv)
{