From 08ec0a11bf5dfef342cad97cd4dfd909f1d5bb7b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Oct 2013 14:45:57 +0000 Subject: [PATCH] From Laurens Voerman, compile fix for VisualStudio --- include/osg/AudioStream | 4 ++-- include/osg/CollectOccludersVisitor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/osg/AudioStream b/include/osg/AudioStream index a13ac9daa..04bc3bdd3 100644 --- a/include/osg/AudioStream +++ b/include/osg/AudioStream @@ -43,8 +43,8 @@ public: private: - virtual AudioSink * cloneType() const { return 0; } - virtual AudioSink * clone(const osg::CopyOp &) const { return 0; } + virtual Object* cloneType() const { return 0; } + virtual Object* clone(const osg::CopyOp &) const { return 0; } double _delay; }; diff --git a/include/osg/CollectOccludersVisitor b/include/osg/CollectOccludersVisitor index 8ab96499c..fbd9c6799 100644 --- a/include/osg/CollectOccludersVisitor +++ b/include/osg/CollectOccludersVisitor @@ -33,7 +33,7 @@ class OSG_EXPORT CollectOccludersVisitor : public osg::NodeVisitor, public osg:: META_NodeVisitor(osg, CollectOccludersVisitor) - virtual CollectOccludersVisitor* cloneType() const { return new CollectOccludersVisitor(); } + virtual Object* cloneType() const { return new CollectOccludersVisitor(); } virtual void reset();