Skip to content

Commit fea9f64

Browse files
committed
Remove user-defined constructor per P1008
1 parent 55e4708 commit fea9f64

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

modules/mrpt_math/include/mrpt/math/TObject2D.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ struct TObject2D
3737

3838
variant_t data;
3939

40-
TObject2D(variant_t d) : data(std::move(d)) {}
41-
TObject2D() = default;
4240
~TObject2D() = default;
4341

4442
/** Constructor from point, segment, line, polygon. */

modules/mrpt_math/include/mrpt/math/TObject3D.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ struct TObject3D
3838

3939
variant_t data;
4040

41-
TObject3D(variant_t d) : data(std::move(d)) {}
42-
TObject3D() = default;
4341
~TObject3D() = default;
4442

4543
/** Constructor from point, segment, line, polygon, or plane */

0 commit comments

Comments
 (0)