lc-compliance: Initialize the event loop pointer
The event loop pointer loop_ was not initialized. This has no effect on the current code flow but could in the future lead to hard debug problems. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
0373490ef6
commit
6c96861ea3
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@
|
|||
using namespace libcamera;
|
||||
|
||||
SimpleCapture::SimpleCapture(std::shared_ptr<Camera> camera)
|
||||
: camera_(camera), allocator_(std::make_unique<FrameBufferAllocator>(camera))
|
||||
: loop_(nullptr), camera_(camera),
|
||||
allocator_(std::make_unique<FrameBufferAllocator>(camera))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue