diff options
Diffstat (limited to 'tracker-aruco/include/markerdetector.h')
-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; |