From 37aa4104f2e5676c122b055311fda6413f5747e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Mon, 4 Nov 2024 14:16:22 +0100 Subject: [PATCH] Fix pre-commit of #187 (#188) * Update thread_priority.hpp * add NOLINT to the deprecation warning --------- Co-authored-by: Sai Kishor Kothakota --- include/realtime_tools/thread_priority.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/realtime_tools/thread_priority.hpp b/include/realtime_tools/thread_priority.hpp index 421066a8..f61cdf75 100644 --- a/include/realtime_tools/thread_priority.hpp +++ b/include/realtime_tools/thread_priority.hpp @@ -33,7 +33,8 @@ // Deprecation notice #ifdef _WIN32 -#pragma message("This header include is deprecated. Please update your code to use 'realtime_helpers.hpp' header and link against 'realtime_tools' library.") +#pragma message( \ + "This header include is deprecated. Please update your code to use 'realtime_helpers.hpp' header and link against 'realtime_tools' library.") //NOLINT #else #warning \ "This header include is deprecated. Please update your code to use 'realtime_helpers.hpp' header and link against 'realtime_tools' library." //NOLINT