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

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


The following commit(s) were added to refs/heads/LOGCXX-527 by this push:
     new 727196f1 add in macro to compile on windows
727196f1 is described below

commit 727196f13ce7bd62f69f13acaf775bc9d9844c69
Author: Robert Middleton <[email protected]>
AuthorDate: Sat May 21 16:33:34 2022 -0400

    add in macro to compile on windows
---
 src/test/cpp/rolling/timebasedrollingtest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/cpp/rolling/timebasedrollingtest.cpp 
b/src/test/cpp/rolling/timebasedrollingtest.cpp
index 5ebcbb2f..d908fa1e 100644
--- a/src/test/cpp/rolling/timebasedrollingtest.cpp
+++ b/src/test/cpp/rolling/timebasedrollingtest.cpp
@@ -672,7 +672,7 @@ public:
 #else
                LogString dirNumber = std::to_string(dist(rng));
 #endif
-               LogString directoryName = "tbrolling-directory-";
+               LogString directoryName = LOG4CXX_STR("tbrolling-directory-");
                directoryName.append( dirNumber );
                filenamePattern.append( directoryName );
                LogString filenamePatternPrefix = filenamePattern;

Reply via email to