summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-03 22:55:11 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-07 18:10:23 +0300
commit5a867f312c0f8d91cc38f17915326e2e56adac14 (patch)
tree2f4e01b7e1b482d96a1c76dfb880aa1d2698f306
parent7e38ae8a1ef6e82285c818d92905f539686f80ce (diff)
libcamera: pipeline_handler: Make registerType() private
The PipelineHandlerFactory::registerType() function is called by the PipelineHandlerFactory class only. Make it private. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--include/libcamera/internal/pipeline_handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h
index 46df69dc..ebbdf2aa 100644
--- a/include/libcamera/internal/pipeline_handler.h
+++ b/include/libcamera/internal/pipeline_handler.h
@@ -108,10 +108,11 @@ public:
const std::string &name() const { return name_; }
- static void registerType(PipelineHandlerFactory *factory);
static std::vector<PipelineHandlerFactory *> &factories();
private:
+ static void registerType(PipelineHandlerFactory *factory);
+
virtual PipelineHandler *createInstance(CameraManager *manager) const = 0;
std::string name_;