diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-31 09:29:18 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-04 00:23:24 +0200 |
commit | 9f5d6ee69f7649f14d12fc8f492dc8ef67d551c5 (patch) | |
tree | 95c7db0b04efd41a948c72ba67e21a8f5d1d65af /src | |
parent | 6b0c2f027adf1c186e2a3e88b52abae5fb71be1b (diff) |
libcamera: device_enumerator: Fix indentation
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-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 */ |