Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(211)

Unified Diff: include/gtest/gtest-message.h

Issue 5641053: eCos support Base URL: http://googletest.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/gtest/gtest-printers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gtest/gtest-message.h
===================================================================
--- include/gtest/gtest-message.h (revision 610)
+++ include/gtest/gtest-message.h (working copy)
@@ -162,6 +162,8 @@
return *this << (b ? "true" : "false");
}
+
+#if GTEST_HAS_WCHAR
// These two overloads allow streaming a wide C string to a Message
// using the UTF-8 encoding.
Message& operator <<(const wchar_t* wide_c_str) {
@@ -170,6 +172,7 @@
Message& operator <<(wchar_t* wide_c_str) {
return *this << internal::String::ShowWideCString(wide_c_str);
}
+#endif // GTEST_HAS_WCHAR
#if GTEST_HAS_STD_WSTRING
// Converts the given wide string to a narrow string using the UTF-8
« no previous file with comments | « no previous file | include/gtest/gtest-printers.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b