X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fcpp%2Fsrc%2Fcpp-build%2Fgenerate_geocoding_data.cc;h=693c30b9ace21c6b6e6b98bb03eb0dee38788f05;hb=b8d0585e44f8083302027a8bb33fc394bcf4cbbe;hp=ef94ef674c63c1969ccecdfc159c4284f13c619a;hpb=1255a477e660fc1be97b4a0ef0a093622a1a6a6e;p=platform%2Fupstream%2Flibphonenumber.git 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