From fc4ded714dc0aafa0ad28d532c5f5f74b4cddd16 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 18 Jan 2024 23:25:22 +0200 Subject: libcamera: object: Fix thread-bound reference in documentation The Object::message() function is documented as thread-bound without using the correct \threadbound reference. Fix it to ensure it gets included in the thread safety context list. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal --- src/libcamera/base/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcamera') diff --git a/src/libcamera/base/object.cpp b/src/libcamera/base/object.cpp index 92cecd22..1fce5a2a 100644 --- a/src/libcamera/base/object.cpp +++ b/src/libcamera/base/object.cpp @@ -259,7 +259,7 @@ void Object::message(Message *msg) * Moving an object that has a parent is not allowed, and causes undefined * behaviour. * - * \context This function is thread-bound. + * \context This function is \threadbound. */ void Object::moveToThread(Thread *thread) { -- cgit v1.2.1