diff options
-rw-r--r-- | src/libcamera/include/pipeline_handler.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h index d70056a1..00568c70 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 */ |