Skip to content

Commit 7546f36

Browse files
committed
add a virtual desturctor to cloud to be able to inherit from it
1 parent 071d214 commit 7546f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cloud.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Cloud {
5151
explicit Cloud(const Cloud& cloud);
5252
explicit Cloud(const Pose& pose) : _pose(pose), _sensor_pose() {}
5353

54-
~Cloud() {}
54+
virtual ~Cloud() {}
5555

5656
inline const std::vector<RichPoint>& points() const { return _points; }
5757

0 commit comments

Comments
 (0)