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:
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user