summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-12-22 18:11:57 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-12-27 12:28:34 +0200
commit0d70289bc325b0f82457c73b9bd1a4a5c63ad346 (patch)
treea1bdc7880897524c13d53426bab080956e1fbcd3
parent489a861f177af6c564c3b0ecc66bfe21b7240988 (diff)
libcamera: bound_method: Fix enumerators documentation
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>
-rw-r--r--src/libcamera/bound_method.cpp8
1 files 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