From abfb5bbb8d6bca909dfa69994cec6233accf764c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 5 Jun 2008 13:46:19 +0000 Subject: [PATCH] Added accep(Shape&) --- include/osg/Shape | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/osg/Shape b/include/osg/Shape index 482e4db31..183cd4d0b 100644 --- a/include/osg/Shape +++ b/include/osg/Shape @@ -106,6 +106,7 @@ class ShapeVisitor ShapeVisitor() {} virtual ~ShapeVisitor() {} + virtual void apply(Shape&) {} virtual void apply(Sphere&) {} virtual void apply(Box&) {} virtual void apply(Cone&) {} @@ -127,6 +128,7 @@ class ConstShapeVisitor ConstShapeVisitor() {} virtual ~ConstShapeVisitor() {} + virtual void apply(const Shape&) {} virtual void apply(const Sphere&) {} virtual void apply(const Box&) {} virtual void apply(const Cone&) {}