Message ID | 20190103013110.6849-3-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Laurent, Thanks for your patch. On 2019-01-03 03:31:04 +0200, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> I did not diffed to make sure it's only indentation changes, I do however trust you :-) Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> > --- > src/libcamera/include/pipeline_handler.h | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h > index d70056a165fd..00568c7052c0 100644 > --- a/src/libcamera/include/pipeline_handler.h > +++ b/src/libcamera/include/pipeline_handler.h > @@ -45,17 +45,17 @@ private: > }; > > #define REGISTER_PIPELINE_HANDLER(handler) \ > - class handler##Factory : public PipelineHandlerFactory { \ > - public: \ > - handler##Factory() \ > - { \ > - PipelineHandlerFactory::registerType(#handler, this); \ > - } \ > - virtual PipelineHandler *create() { \ > - return new handler(); \ > - } \ > - }; \ > - static handler##Factory global_##handler##Factory; > +class handler##Factory : public PipelineHandlerFactory { \ > +public: \ > + handler##Factory() \ > + { \ > + PipelineHandlerFactory::registerType(#handler, this); \ > + } \ > + virtual PipelineHandler *create() { \ > + return new handler(); \ > + } \ > +}; \ > +static handler##Factory global_##handler##Factory; > > } /* namespace libcamera */ > > -- > Regards, > > Laurent Pinchart > > _______________________________________________ > libcamera-devel mailing list > libcamera-devel@lists.libcamera.org > https://lists.libcamera.org/listinfo/libcamera-devel
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h index d70056a165fd..00568c7052c0 100644 --- a/src/libcamera/include/pipeline_handler.h +++ b/src/libcamera/include/pipeline_handler.h @@ -45,17 +45,17 @@ private: }; #define REGISTER_PIPELINE_HANDLER(handler) \ - class handler##Factory : public PipelineHandlerFactory { \ - public: \ - handler##Factory() \ - { \ - PipelineHandlerFactory::registerType(#handler, this); \ - } \ - virtual PipelineHandler *create() { \ - return new handler(); \ - } \ - }; \ - static handler##Factory global_##handler##Factory; +class handler##Factory : public PipelineHandlerFactory { \ +public: \ + handler##Factory() \ + { \ + PipelineHandlerFactory::registerType(#handler, this); \ + } \ + virtual PipelineHandler *create() { \ + return new handler(); \ + } \ +}; \ +static handler##Factory global_##handler##Factory; } /* namespace libcamera */
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- src/libcamera/include/pipeline_handler.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)