This is an automated email from the ASF dual-hosted git repository. swebb2066 pushed a commit to branch async_buffer_structure in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 1f33520993c3a285fb48cb96ee0833fef1af972b Author: Stephen Webb <[email protected]> AuthorDate: Thu Sep 10 16:47:52 2026 +1000 Fix double include guard scope in asyncbuffer.h --- src/main/include/log4cxx/helpers/asyncbuffer.h | 4 ++-- src/test/cpp/asyncappenderracestress.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/include/log4cxx/helpers/asyncbuffer.h b/src/main/include/log4cxx/helpers/asyncbuffer.h index 023a3df5..49e3d290 100644 --- a/src/main/include/log4cxx/helpers/asyncbuffer.h +++ b/src/main/include/log4cxx/helpers/asyncbuffer.h @@ -397,8 +397,6 @@ LOG4CXX_INFO_ASYNC(m_log, surface->GetName() logger->addInfoEvent(std::move(buf << message), LOG4CXX_LOCATION);\ }} while (0) -#endif - #if LOG4CXX_ASYNC_BUFFER_SUPPORTS_FMT /** Add a new logging event containing a message defined by \c fmt and <code>...</code> to attached appender(s) if \c logger is enabled for <code>INFO</code> events. @@ -601,3 +599,5 @@ LOG4CXX_FATAL_FMT_ASYNC(m_log, "{} is not supported", m_renderSystem->getName()) #endif /**@} Logging macro group */ + +#endif // LOG4CXX_ASYNC_BUFFER_H diff --git a/src/test/cpp/asyncappenderracestress.cpp b/src/test/cpp/asyncappenderracestress.cpp index aacf3a91..25e59130 100644 --- a/src/test/cpp/asyncappenderracestress.cpp +++ b/src/test/cpp/asyncappenderracestress.cpp @@ -19,7 +19,6 @@ #include <log4cxx/asyncappender.h> #include <log4cxx/level.h> -#include <log4cxx/helpers/asyncbuffer.h> #include <log4cxx/spi/loggingevent.h> #include <atomic>
