Skip to content

Commit 2a8d01f

Browse files
committed
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.
1 parent b438e9d commit 2a8d01f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/logit_cpp/logit/LogMacros.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,10 +960,10 @@
960960
/// \}
961961

962962
/// \brief Macro for waiting for all asynchronous loggers to finish processing.
963-
#define LOGIT_WAIT() logit::Logger::get_instance().wait();
963+
#define LOGIT_WAIT() logit::Logger::get_instance().wait()
964964

965965
/// \brief Macro for shutting down logger system.
966-
#define LOGIT_SHUTDOWN() logit::Logger::get_instance().shutdown();
966+
#define LOGIT_SHUTDOWN() logit::Logger::get_instance().shutdown()
967967

968968
//------------------------------------------------------------------------------
969969

0 commit comments

Comments
 (0)