summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/vimc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/pipeline/vimc.cpp')
-rw-r--r--src/libcamera/pipeline/vimc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp
index 50cab8af..b04a9726 100644
--- a/src/libcamera/pipeline/vimc.cpp
+++ b/src/libcamera/pipeline/vimc.cpp
@@ -426,7 +426,7 @@ int VimcCameraData::init(MediaDevice *media)
ControlInfoMap::Map ctrls;
for (const auto &ctrl : controls) {
- const ControlRange &range = ctrl.second;
+ const ControlInfo &info = ctrl.second;
const ControlId *id;
switch (ctrl.first->id()) {
@@ -443,7 +443,7 @@ int VimcCameraData::init(MediaDevice *media)
continue;
}
- ctrls.emplace(id, range);
+ ctrls.emplace(id, info);
}
controlInfo_ = std::move(ctrls);