Attempt to fix Windows int type warning

This commit is contained in:
Benjamin Knecht 2025-03-04 16:24:50 +01:00
parent 1aa658fa75
commit d80fd565b4

View File

@ -755,7 +755,7 @@ struct ArucoDetector::ArucoDetectorImpl {
performCornerSubpixRefinement(grey, grey_pyramid, closest_pyr_image_idx, candidates, dictionary); performCornerSubpixRefinement(grey, grey_pyramid, closest_pyr_image_idx, candidates, dictionary);
} }
} else if (DictionaryMode::Multi == dictMode) { } else if (DictionaryMode::Multi == dictMode) {
map<size_t, vector<MarkerCandidateTree>> candidatesPerDictionarySize; map<int, vector<MarkerCandidateTree>> candidatesPerDictionarySize;
for (const Dictionary& dictionary : dictionaries) { for (const Dictionary& dictionary : dictionaries) {
candidatesPerDictionarySize.emplace(dictionary.markerSize, vector<MarkerCandidateTree>()); candidatesPerDictionarySize.emplace(dictionary.markerSize, vector<MarkerCandidateTree>());
} }