diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:37:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 22:37:20 +0200 |
commit | 7b54b8e1c707d1b4d5efaa0ad814b1d78dd55aa2 (patch) | |
tree | f80536ac81c796c62ebcd59f1c2a7ba36eb070eb /tracker-aruco/include | |
parent | 973e8dc567463261330f685abaf0f5fd08d4f7d7 (diff) |
{spline,tracker/aruco}: simplify some casts
Diffstat (limited to 'tracker-aruco/include')
-rw-r--r-- | tracker-aruco/include/markerdetector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-aruco/include/markerdetector.h b/tracker-aruco/include/markerdetector.h index 8a7e75ca..12502bd3 100644 --- a/tracker-aruco/include/markerdetector.h +++ b/tracker-aruco/include/markerdetector.h @@ -52,7 +52,7 @@ class ARUCO_EXPORTS MarkerDetector idx=M.idx; } MarkerCandidate & operator=(const MarkerCandidate &M){ - (*(Marker*)this)=(*(Marker*)&M); + *(Marker*)this = M; contour=M.contour; idx=M.idx; return *this; |