summaryrefslogtreecommitdiff
path: root/test/camera-sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera-sensor.cpp')
-rw-r--r--test/camera-sensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera-sensor.cpp b/test/camera-sensor.cpp
index a8dcad82..372ee4af 100644
--- a/test/camera-sensor.cpp
+++ b/test/camera-sensor.cpp
@@ -76,7 +76,7 @@ protected:
return TestFail;
}
- const std::vector<Size> &sizes = sensor_->sizes();
+ const std::vector<Size> &sizes = sensor_->sizes(*iter);
auto iter2 = std::find(sizes.begin(), sizes.end(),
Size(4096, 2160));
if (iter2 == sizes.end()) {