From: Jeesun Kim Date: Mon, 19 Dec 2016 05:32:45 +0000 (+0900) Subject: temporary fix GCC 6: cannot convert x to y X-Git-Tag: accepted/tizen/common/20161220.190911^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibphonenumber.git;a=commitdiff_plain;h=b8d0585e44f8083302027a8bb33fc394bcf4cbbe temporary fix GCC 6: cannot convert x to y Change-Id: I73c515e348ede9703d90e10faf24cf016387bda6 --- diff --git a/tools/cpp/src/cpp-build/generate_geocoding_data.cc b/tools/cpp/src/cpp-build/generate_geocoding_data.cc index ef94ef6..693c30b 100644 --- a/tools/cpp/src/cpp-build/generate_geocoding_data.cc +++ b/tools/cpp/src/cpp-build/generate_geocoding_data.cc @@ -141,7 +141,7 @@ bool StrToInt(const string& s, int32* n) { std::stringstream stream; stream << s; stream >> *n; - return stream; + return true; } // Converts integer to string, returns true on success. @@ -149,7 +149,7 @@ bool IntToStr(int32 n, string* s) { std::stringstream stream; stream << n; stream >> *s; - return stream; + return true; } // Parses the prefix descriptions file at path, clears and fills the output