Author: afester Date: Sat Dec 17 08:37:21 2005 New Revision: 357347 URL: http://svn.apache.org/viewcvs?rev=357347&view=rev Log: LOGCXX-92: hide method with wstring parameter if LOG4CXX_HAS_WCHAR_T is not set
Modified: logging/log4cxx/trunk/tests/src/util/compare.cpp logging/log4cxx/trunk/tests/src/util/compare.h Modified: logging/log4cxx/trunk/tests/src/util/compare.cpp URL: http://svn.apache.org/viewcvs/logging/log4cxx/trunk/tests/src/util/compare.cpp?rev=357347&r1=357346&r2=357347&view=diff ============================================================================== --- logging/log4cxx/trunk/tests/src/util/compare.cpp (original) +++ logging/log4cxx/trunk/tests/src/util/compare.cpp Sat Dec 17 08:37:21 2005 @@ -137,7 +137,9 @@ std::cout << s1; } +#if LOG4CXX_HAS_WCHAR_T void Compare::emit(const std::wstring& s1) { std::wcout << s1; } +#endif Modified: logging/log4cxx/trunk/tests/src/util/compare.h URL: http://svn.apache.org/viewcvs/logging/log4cxx/trunk/tests/src/util/compare.h?rev=357347&r1=357346&r2=357347&view=diff ============================================================================== --- logging/log4cxx/trunk/tests/src/util/compare.h (original) +++ logging/log4cxx/trunk/tests/src/util/compare.h Sat Dec 17 08:37:21 2005 @@ -37,7 +37,11 @@ static void outputFile(const File& file, const LogString& contents, log4cxx::helpers::Pool& pool); + static void emit(const std::string &line); + +#if LOG4CXX_HAS_WCHAR_T static void emit(const std::wstring &line); +#endif }; }