From b60d560610642184969f4d8bb68054db78526967 Mon Sep 17 00:00:00 2001 From: "KushalP@gmail.com" Date: Thu, 8 Dec 2011 16:25:44 +0000 Subject: [PATCH] CPP: Fix compilation error on Clang. --- cpp/test/phonenumbers/unicodestring_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/test/phonenumbers/unicodestring_test.cc b/cpp/test/phonenumbers/unicodestring_test.cc index 12b3d4cd5..6270816c0 100644 --- a/cpp/test/phonenumbers/unicodestring_test.cc +++ b/cpp/test/phonenumbers/unicodestring_test.cc @@ -22,17 +22,17 @@ using std::ostream; +namespace i18n { +namespace phonenumbers { + // Used by GTest to print the expected and actual results in case of failure. -ostream& operator<<(ostream& out, const i18n::phonenumbers::UnicodeString& s) { +ostream& operator<<(ostream& out, const UnicodeString& s) { string utf8; s.toUTF8String(utf8); out << utf8; return out; } -namespace i18n { -namespace phonenumbers { - TEST(UnicodeString, ToUTF8StringWithEmptyString) { UnicodeString s; string utf8;