mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
GAPI: fix Clang warning for dangling references in for loop variable
This commit is contained in:
@@ -81,7 +81,7 @@ namespace opencv_test
|
||||
|
||||
void check(const std::vector<cv::Mat>& out_mats)
|
||||
{
|
||||
for (const auto& it : ade::util::zip(ref_mats, out_mats))
|
||||
for (const auto it : ade::util::zip(ref_mats, out_mats))
|
||||
{
|
||||
const auto& ref_mat = std::get<0>(it);
|
||||
const auto& out_mat = std::get<1>(it);
|
||||
|
||||
Reference in New Issue
Block a user