summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/include
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:37:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:37:20 +0200
commit7b54b8e1c707d1b4d5efaa0ad814b1d78dd55aa2 (patch)
treef80536ac81c796c62ebcd59f1c2a7ba36eb070eb /tracker-aruco/include
parent973e8dc567463261330f685abaf0f5fd08d4f7d7 (diff)
{spline,tracker/aruco}: simplify some casts
Diffstat (limited to 'tracker-aruco/include')
-rw-r--r--tracker-aruco/include/markerdetector.h2
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;