From ffc576648d07186bd24508b7ceeaf9ff95fdda8f Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 9 Sep 2024 13:59:50 -0400 Subject: [PATCH] src.ctf.lttng-live: add IWYU pragma clangd reports that the include of cpp-common/bt2c/fmt.hpp is unused, but it is in fact used for the formatting of some types. Add a pragma. Change-Id: I850fb44383b61bd46880c4eb67bd9a2323c0d725 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/13253 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/plugins/ctf/lttng-live/lttng-live.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/ctf/lttng-live/lttng-live.cpp b/src/plugins/ctf/lttng-live/lttng-live.cpp index a1105828..0f2d6b5f 100644 --- a/src/plugins/ctf/lttng-live/lttng-live.cpp +++ b/src/plugins/ctf/lttng-live/lttng-live.cpp @@ -13,7 +13,7 @@ #include "common/assert.h" #include "cpp-common/bt2/wrap.hpp" -#include "cpp-common/bt2c/fmt.hpp" +#include "cpp-common/bt2c/fmt.hpp" /* IWYU pragma: keep */ #include "cpp-common/bt2c/glib-up.hpp" #include "cpp-common/bt2c/vector.hpp" #include "cpp-common/bt2s/make-unique.hpp" -- 2.34.1