summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face/camera_kinect_ir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-28 09:22:24 +0100
committerStéphane Lenclud <github@lenclud.com>2019-03-28 17:45:05 +0100
commitdf4eaa52d3f32b65afaed27cb7205918b53d45b5 (patch)
treea172776c6f7b6db79cbcd4ac52a635d8e8047e1d /tracker-kinect-face/camera_kinect_ir.cpp
parentd3445ae71743de358516d295294f4f569f1adfa5 (diff)
tracker/kinect: use C++11 style
Diffstat (limited to 'tracker-kinect-face/camera_kinect_ir.cpp')
-rw-r--r--tracker-kinect-face/camera_kinect_ir.cpp4
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)