diff --git a/simgear/scene/bvh/BVHLineSegmentVisitor.hxx b/simgear/scene/bvh/BVHLineSegmentVisitor.hxx index aec9c081..db3508bc 100644 --- a/simgear/scene/bvh/BVHLineSegmentVisitor.hxx +++ b/simgear/scene/bvh/BVHLineSegmentVisitor.hxx @@ -66,7 +66,7 @@ public: virtual void apply(const BVHStaticTriangle&, const BVHStaticData&); protected: - bool setLineSegmentEnd(const SGVec3d& end) + void setLineSegmentEnd(const SGVec3d& end) { // Ok, you need to make sure that the new end is in the previous // direction and that the line segment is not enlarged by that call.