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>
This commit is contained in:
parent
6b0c2f027a
commit
9f5d6ee69f
1 changed files with 11 additions and 11 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue