diff options
Diffstat (limited to 'video-opencv/impl-metadata.cpp')
-rw-r--r-- | video-opencv/impl-metadata.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video-opencv/impl-metadata.cpp b/video-opencv/impl-metadata.cpp index ffc51773..7642c017 100644 --- a/video-opencv/impl-metadata.cpp +++ b/video-opencv/impl-metadata.cpp @@ -19,11 +19,8 @@ std::vector<QString> metadata::camera_names() const { std::vector<std::tuple<QString, int>> names = get_camera_names(); std::vector<QString> ret; - for (const auto& t : names) - { - const auto& [str, idx] = t; + for (const auto& [str, idx] : names) ret.push_back(str); - } return ret; } |