summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/list-cameras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/list-cameras.cpp b/test/list-cameras.cpp
index fdbbda09..070cbf2b 100644
--- a/test/list-cameras.cpp
+++ b/test/list-cameras.cpp
@@ -30,7 +30,7 @@ protected:
{
unsigned int count = 0;
- for (Camera *camera : cm->cameras()) {
+ for (const std::shared_ptr<Camera> &camera : cm->cameras()) {
cout << "- " << camera->name() << endl;
count++;
}