diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-02 19:01:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-02 19:01:06 +0200 |
commit | 42c2ff54b657babf59eacdb3291e5867a511489c (patch) | |
tree | 06b27b12f353db239a91b0f8ca9e6ee2b649a699 /video | |
parent | 4793e57051bf17620e93f62e2651fc5df1708935 (diff) |
video: simplify
Diffstat (limited to 'video')
-rw-r--r-- | video/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/camera.cpp b/video/camera.cpp index b5cf3120..42320402 100644 --- a/video/camera.cpp +++ b/video/camera.cpp @@ -56,7 +56,7 @@ std::unique_ptr<camera_impl> make_camera(const QString& name) for (auto& camera : metadata) for (const QString& name_ : camera->camera_names()) - if (auto ret = camera->make_camera(name_); ret) + if (auto ret = camera->make_camera(name_)) return ret; return nullptr; |