From patchwork Wed Dec 23 17:45:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10700 X-Patchwork-Delegate: laurent.pinchart@ideasonboard.com 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 6391DC0F1A for ; Wed, 23 Dec 2020 17:45:50 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EAC0560529; Wed, 23 Dec 2020 18:45:49 +0100 (CET) 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="on3GRoM+"; 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 685AA60527 for ; Wed, 23 Dec 2020 18:45:48 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DCC9C9E6 for ; Wed, 23 Dec 2020 18:45:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1608745548; bh=N4PdCtw0DRDnr66Iz6w/l1zbm4y4Aoz/su2s3sHQHQI=; h=From:To:Subject:Date:From; b=on3GRoM+n7pdLP32Dl/AV/SEFE4/pi2IdcySjrOtc/+X2x4vWqy0YE4L3ca/uaQOy 5IeKo97k4pUDfNNt/RIxphpyDrddzRzV3e3XvaARAKtqMa2O7BTrMovCNXAb80hTI1 +7kShI1ZOPyVkkySlUIWdSkJFakf+f959u6kBMwQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Wed, 23 Dec 2020 19:45:35 +0200 Message-Id: <20201223174535.23977-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: bound_method: Fix enumerators documentation 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 Doxygen documentation for enumerators of the ConnectionType enumeration prefixes the enumerator name with the enumeration name. For unscoped enumerations, this is incorrect. Drop the scope. This fixes warnings produced by Doxygen when multiple enumerators with identical names are defined in different scopes. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- src/libcamera/bound_method.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libcamera/bound_method.cpp b/src/libcamera/bound_method.cpp index 9993e5969aac..4965bb5e167b 100644 --- a/src/libcamera/bound_method.cpp +++ b/src/libcamera/bound_method.cpp @@ -26,22 +26,22 @@ namespace libcamera { * between a sender and a receiver. It applies to Signal::emit() and * Object::invokeMethod(). * - * \var ConnectionType::ConnectionTypeAuto + * \var ConnectionTypeAuto * \brief If the sender and the receiver live in the same thread, * ConnectionTypeDirect is used. Otherwise ConnectionTypeQueued is used. * - * \var ConnectionType::ConnectionTypeDirect + * \var ConnectionTypeDirect * \brief The receiver is invoked immediately and synchronously in the sender's * thread. * - * \var ConnectionType::ConnectionTypeQueued + * \var ConnectionTypeQueued * \brief The receiver is invoked asynchronously * * Invoke the receiver asynchronously in its thread when control returns to the * thread's event loop. The sender proceeds without waiting for the invocation * to complete. * - * \var ConnectionType::ConnectionTypeBlocking + * \var ConnectionTypeBlocking * \brief The receiver is invoked synchronously * * If the sender and the receiver live in the same thread, this is equivalent to