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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user