diff options
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; |