diff --git a/include/osg/LineSegment b/include/osg/LineSegment index a42152518..f3345810f 100644 --- a/include/osg/LineSegment +++ b/include/osg/LineSegment @@ -63,7 +63,7 @@ class SG_EXPORT LineSegment : public Referenced protected: - virtual ~LineSegment() {} + virtual ~LineSegment(); static bool intersectAndClip(Vec3& s,Vec3& e,const BoundingBox& bb); diff --git a/src/osg/LineSegment.cpp b/src/osg/LineSegment.cpp index d57ff76d3..5fbdb580a 100644 --- a/src/osg/LineSegment.cpp +++ b/src/osg/LineSegment.cpp @@ -14,6 +14,10 @@ using namespace osg; +LineSegment::~LineSegment() +{ +} + bool LineSegment::intersectAndClip(Vec3& s,Vec3& e,const BoundingBox& bb) { // compate s and e against the xMin to xMax range of bb.