Browse Source

CPP: Fix compilation error on Clang.

pull/567/head
KushalP@gmail.com 14 years ago
committed by Mihaela Rosca
parent
commit
b60d560610
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      cpp/test/phonenumbers/unicodestring_test.cc

+ 4
- 4
cpp/test/phonenumbers/unicodestring_test.cc View File

@ -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;


Loading…
Cancel
Save