Message ID | 20230603075615.20663-3-tomi.valkeinen@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Tomi, Thank you for the patch. On Sat, Jun 03, 2023 at 10:56:04AM +0300, Tomi Valkeinen wrote: > Fix code formatting. > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > src/py/libcamera/py_main.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/py/libcamera/py_main.cpp b/src/py/libcamera/py_main.cpp > index fd140086..5a5f1a37 100644 > --- a/src/py/libcamera/py_main.cpp > +++ b/src/py/libcamera/py_main.cpp > @@ -180,7 +180,7 @@ PYBIND11_MODULE(_libcamera, m) > > ControlList controlList(self.controls()); > > - for (const auto& [id, obj]: controls) { > + for (const auto &[id, obj] : controls) { > auto val = pyToControlValue(obj, id->type()); > controlList.set(id->id(), val); > }
diff --git a/src/py/libcamera/py_main.cpp b/src/py/libcamera/py_main.cpp index fd140086..5a5f1a37 100644 --- a/src/py/libcamera/py_main.cpp +++ b/src/py/libcamera/py_main.cpp @@ -180,7 +180,7 @@ PYBIND11_MODULE(_libcamera, m) ControlList controlList(self.controls()); - for (const auto& [id, obj]: controls) { + for (const auto &[id, obj] : controls) { auto val = pyToControlValue(obj, id->type()); controlList.set(id->id(), val); }
Fix code formatting. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> --- src/py/libcamera/py_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)