This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/master by this push:
     new b615bce6 fix: MSVC v141 build error caused by a missing namespace 
(#726)
b615bce6 is described below

commit b615bce6e9bc43bc3ba9f7b01adbb99fe874cbd1
Author: qjoyel <[email protected]>
AuthorDate: Sun Aug 2 02:59:32 2026 +0200

    fix: MSVC v141 build error caused by a missing namespace (#726)
---
 src/main/cpp/rollingpolicy.cpp | 2 +-
 src/main/cpp/writer.cpp        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/cpp/rollingpolicy.cpp b/src/main/cpp/rollingpolicy.cpp
index 4842e1e7..9f39ec3d 100644
--- a/src/main/cpp/rollingpolicy.cpp
+++ b/src/main/cpp/rollingpolicy.cpp
@@ -17,9 +17,9 @@
 
 #include <log4cxx/rolling/rollingpolicy.h>
 
+using namespace LOG4CXX_NS;
 using namespace LOG4CXX_NS::rolling;
 
-
 IMPLEMENT_LOG4CXX_OBJECT(RollingPolicy)
 
 #if LOG4CXX_ABI_VERSION <= 15
diff --git a/src/main/cpp/writer.cpp b/src/main/cpp/writer.cpp
index 2a46ebef..fbb89bbe 100644
--- a/src/main/cpp/writer.cpp
+++ b/src/main/cpp/writer.cpp
@@ -21,6 +21,7 @@
 #include <log4cxx/helpers/pool.h>
 #include <stdexcept>
 
+using namespace LOG4CXX_NS;
 using namespace LOG4CXX_NS::helpers;
 
 IMPLEMENT_LOG4CXX_OBJECT(Writer)

Reply via email to