summaryrefslogtreecommitdiff
path: root/test/controls/control_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/controls/control_list.cpp')
-rw-r--r--test/controls/control_list.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/controls/control_list.cpp b/test/controls/control_list.cpp
index 4d212abd..5374c6f9 100644
--- a/test/controls/control_list.cpp
+++ b/test/controls/control_list.cpp
@@ -29,7 +29,12 @@ public:
}
protected:
- int run()
+ int init() override
+ {
+ return status_;
+ }
+
+ int run() override
{
CameraControlValidator validator(camera_.get());
ControlList list(controls::controls, &validator);