From 8250d5979abfc05004139b2328a36712224a797c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 19 Nov 2021 14:35:51 -0500 Subject: [PATCH] Docs: optional.h: incorrect declaration example MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Change-Id: I1c9f6e8c3200bc72a5eb29e6459c3449bf0771cd --- src/common/optional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/optional.h b/src/common/optional.h index 0501904cb..52139d50d 100644 --- a/src/common/optional.h +++ b/src/common/optional.h @@ -24,7 +24,7 @@ * Declaration example: * struct my_struct { * int a; - * LTTNG_OPTIONAL(int, b); + * LTTNG_OPTIONAL(int) b; * }; * * Usage example: -- 2.34.1