diff options
Diffstat (limited to 'src/libcamera/controls.cpp')
-rw-r--r-- | src/libcamera/controls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/controls.cpp b/src/libcamera/controls.cpp index 7d8a0e97..34a8c8dd 100644 --- a/src/libcamera/controls.cpp +++ b/src/libcamera/controls.cpp @@ -752,7 +752,7 @@ bool ControlList::contains(unsigned int id) const */ const ControlValue &ControlList::get(unsigned int id) const { - static ControlValue zero; + static const ControlValue zero; const ControlValue *val = find(id); if (!val) |