libipa: camera_sensor_helper: Mark createInstance() with override

The CameraSensorHelperFactory::createInstance() function overrides a
virtual function from CameraSensorHelperFactoryBase. The function
declaration doesn't mark it with the override keyword. This could cause
issues in the future if the base class' function changes, as the
compiler will not issue any warning in that case. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2023-09-26 18:52:05 +03:00
parent 89227a428a
commit 439cfe7fbd

View file

@ -88,7 +88,7 @@ public:
} }
private: private:
std::unique_ptr<CameraSensorHelper> createInstance() const std::unique_ptr<CameraSensorHelper> createInstance() const override
{ {
return std::make_unique<_Helper>(); return std::make_unique<_Helper>();
} }