From 2a8d01f515d097a569b9e5b4b449f32fc188150a Mon Sep 17 00:00:00 2001 From: Aster Seker Date: Sat, 13 Sep 2025 09:36:32 +0300 Subject: [PATCH] fix(macros): remove trailing semicolons from wait and shutdown LOGIT_WAIT and LOGIT_SHUTDOWN now expand without an internal semicolon so callers must supply one. --- include/logit_cpp/logit/LogMacros.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/logit_cpp/logit/LogMacros.hpp b/include/logit_cpp/logit/LogMacros.hpp index f10727d..7a66809 100644 --- a/include/logit_cpp/logit/LogMacros.hpp +++ b/include/logit_cpp/logit/LogMacros.hpp @@ -960,10 +960,10 @@ /// \} /// \brief Macro for waiting for all asynchronous loggers to finish processing. -#define LOGIT_WAIT() logit::Logger::get_instance().wait(); +#define LOGIT_WAIT() logit::Logger::get_instance().wait() /// \brief Macro for shutting down logger system. -#define LOGIT_SHUTDOWN() logit::Logger::get_instance().shutdown(); +#define LOGIT_SHUTDOWN() logit::Logger::get_instance().shutdown() //------------------------------------------------------------------------------