diff options
Diffstat (limited to 'tracker-kinect-face/camera_kinect_ir.cpp')
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.cpp | 4 |
1 files changed, 1 insertions, 3 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) |