summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/controls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/controls.cpp b/src/libcamera/controls.cpp
index 0d8c0a5c..03ac6345 100644
--- a/src/libcamera/controls.cpp
+++ b/src/libcamera/controls.cpp
@@ -527,7 +527,7 @@ ControlInfo::ControlInfo(Span<const ControlValue> values,
ControlInfo::ControlInfo(std::set<bool> values, bool def)
: min_(false), max_(true), def_(def), values_({ false, true })
{
- assert(values.count(def) && values.size() == 2);
+ ASSERT(values.count(def) && values.size() == 2);
}
/**