You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2023/07/31 08:05:55 UTC

[logging-log4cxx] branch separate_macos_ci updated: Convert CFString without using std::basic_string

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

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


The following commit(s) were added to refs/heads/separate_macos_ci by this push:
     new 0fab82ad Convert CFString without using std::basic_string<UniCode>
0fab82ad is described below

commit 0fab82ad50ea530d41f4fd04e9e7084ba565ff87
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Mon Jul 31 18:05:24 2023 +1000

    Convert CFString without using std::basic_string<UniCode>
---
 src/test/cpp/streamtestcase.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/cpp/streamtestcase.cpp b/src/test/cpp/streamtestcase.cpp
index c2d8fb18..0255a499 100644
--- a/src/test/cpp/streamtestcase.cpp
+++ b/src/test/cpp/streamtestcase.cpp
@@ -633,7 +633,9 @@ public:
 		LOG4CXX_INFO(root, CFSTR("This is a test") << CFSTR(": Details to follow"));
 		LOGUNIT_ASSERT_EQUAL((size_t) 1, vectorAppender->getVector().size());
 	}
+#endif
 
+#if LOG4CXX_UNICHAR_API && LOG4CXX_CFSTRING_API
 	void testULogStreamCFString()
 	{
 		ulogstream root(Logger::getRootLogger(), Level::getInfo());