From 28214337a3a106a4b9be711fbd767915984e2912 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Mar 2004 09:18:21 +0000 Subject: [PATCH] Moved the LineSegment destructor from the header to the source to avoid compilation problems under MingW. --- include/osg/LineSegment | 2 +- src/osg/LineSegment.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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.