diff options
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.cpp | 4 | ||||
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tracker-kinect-face/camera_kinect_ir.cpp b/tracker-kinect-face/camera_kinect_ir.cpp index f80eb73f..04607dd1 100644 --- a/tracker-kinect-face/camera_kinect_ir.cpp +++ b/tracker-kinect-face/camera_kinect_ir.cpp @@ -36,9 +36,7 @@ namespace Kinect { std::vector<QString> CamerasProvider::camera_names() const { - std::vector<QString> cameras; - cameras.push_back(KKinectIRSensor); - return cameras; + return { KKinectIRSensor }; } bool CamerasProvider::can_show_dialog(const QString& camera_name) diff --git a/tracker-kinect-face/camera_kinect_ir.h b/tracker-kinect-face/camera_kinect_ir.h index d5b25baa..d9e814a0 100644 --- a/tracker-kinect-face/camera_kinect_ir.h +++ b/tracker-kinect-face/camera_kinect_ir.h @@ -42,7 +42,7 @@ namespace Kinect { struct CameraKinectIr final : video::impl::camera { CameraKinectIr(); - virtual ~CameraKinectIr(); + ~CameraKinectIr() override; [[nodiscard]] bool start(const info& args) override; |