From 0d70289bc325b0f82457c73b9bd1a4a5c63ad346 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Tue, 22 Dec 2020 18:11:57 +0200
Subject: libcamera: bound_method: Fix enumerators documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
---
 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 9993e596..4965bb5e 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
-- 
cgit v1.2.1