From patchwork Tue Jun 29 16:58:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 12753 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2DC93C321F for ; Tue, 29 Jun 2021 16:58:41 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 72C51684E9; Tue, 29 Jun 2021 18:58:40 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Phc5CNZK"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A2FAC684CB for ; Tue, 29 Jun 2021 18:58:35 +0200 (CEST) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:d4ff:199e:6bde:2ea6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 28A7F4AD; Tue, 29 Jun 2021 18:58:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1624985915; bh=Ni4TkC3TBUKS5C7PYOW0jDnCfv96ZutYSuStq1xyxtc=; h=From:To:Cc:Subject:Date:From; b=Phc5CNZK6kllYgX2WZ1v6IzSrfn/a7TlLw2n0jLIjHhKU2Wapev2CtlbOcAsRXiJb tDZNDlby9aqdDhqmgyv8zV3eUNDCpFy/YBhoMc4ieVc6biBj2BDJpgRZn8P3gXNw7H +cgtBsBnAjOgAubOGa5aTehGEd22E1zjZjOgARak= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Tue, 29 Jun 2021 18:58:30 +0200 Message-Id: <20210629165830.196578-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2] libcamera: pipeline_handler: Hide implementation detail comment from doxygen X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The comment is a implementation detail and does not belong to API documentation. Move it inside the function. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- src/libcamera/pipeline_handler.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp index f626eddd..0ed172dc 100644 --- a/src/libcamera/pipeline_handler.cpp +++ b/src/libcamera/pipeline_handler.cpp @@ -707,14 +707,15 @@ void PipelineHandlerFactory::registerType(PipelineHandlerFactory *factory) /** * \brief Retrieve the list of all pipeline handler factories - * - * The static factories map is defined inside the function to ensures it gets - * initialized on first use, without any dependency on link order. - * * \return the list of pipeline handler factories */ std::vector &PipelineHandlerFactory::factories() { + /* + * The static factories map is defined inside the function to ensure + * it gets initialized on first use, without any dependency on + * link order. + */ static std::vector factories; return factories; }