diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-23 19:22:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-23 19:22:18 +0200 |
commit | 2658bc66b8b68212594c71f7b51199921c3c1df9 (patch) | |
tree | 4edda3c602a069b310f9923db22b0fa87ef6b229 /tracker-aruco | |
parent | ec34d6575fa03f1e137739ee1946f0ba9d3f2830 (diff) |
use std::size
Diffstat (limited to 'tracker-aruco')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 962d0060..2842a9c2 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -351,7 +351,7 @@ void aruco_tracker::cycle_detection_params() use_otsu = false; adaptive_size_pos++; - adaptive_size_pos %= sizeof(adaptive_sizes)/sizeof(*adaptive_sizes); + adaptive_size_pos %= std::size(adaptive_sizes); } set_detector_params(); |