Skip to content

Commit

Permalink
Test to see if some code use these construction-copyable / copyable f…
Browse files Browse the repository at this point in the history
…unctions.
  • Loading branch information
s-trinh committed Dec 22, 2024
1 parent 2beba7d commit 22aa4d7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/tracker/mbt/include/visp3/mbt/vpMbtDistanceCircle.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ class VISP_EXPORT vpMbtDistanceCircle
// }
//#endif

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpMbtDistanceCircle(const vpMbtDistanceCircle &) = delete; // non construction-copyable
vpMbtDistanceCircle &operator=(const vpMbtDistanceCircle &) = delete; // non copyable
#endif

public:
vpMbtDistanceCircle();
virtual ~vpMbtDistanceCircle();
Expand Down
5 changes: 5 additions & 0 deletions modules/tracker/mbt/include/visp3/mbt/vpMbtDistanceCylinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ class VISP_EXPORT vpMbtDistanceCylinder
// }
//#endif

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpMbtDistanceCylinder(const vpMbtDistanceCylinder &) = delete; // non construction-copyable
vpMbtDistanceCylinder &operator=(const vpMbtDistanceCylinder &) = delete; // non copyable
#endif

public:
vpMbtDistanceCylinder();
virtual ~vpMbtDistanceCylinder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ class VISP_EXPORT vpMbtDistanceKltCylinder
// }
//#endif

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpMbtDistanceKltCylinder(const vpMbtDistanceKltCylinder &) = delete; // non construction-copyable
vpMbtDistanceKltCylinder &operator=(const vpMbtDistanceKltCylinder &) = delete; // non copyable
#endif

public:
vpMbtDistanceKltCylinder();
virtual ~vpMbtDistanceKltCylinder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ class VISP_EXPORT vpMbtDistanceKltPoints
// }
//#endif

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpMbtDistanceKltPoints(const vpMbtDistanceKltPoints &) = delete; // non construction-copyable
vpMbtDistanceKltPoints &operator=(const vpMbtDistanceKltPoints &) = delete; // non copyable
#endif

public:
vpMbtDistanceKltPoints();
virtual ~vpMbtDistanceKltPoints();
Expand Down
5 changes: 5 additions & 0 deletions modules/tracker/mbt/include/visp3/mbt/vpMbtDistanceLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ class VISP_EXPORT vpMbtDistanceLine
// }
//#endif

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
vpMbtDistanceLine(const vpMbtDistanceLine &) = delete; // non construction-copyable
vpMbtDistanceLine &operator=(const vpMbtDistanceLine &) = delete; // non copyable
#endif

public:
vpMbtDistanceLine();
virtual ~vpMbtDistanceLine();
Expand Down

0 comments on commit 22aa4d7

Please sign in to comment.