temporary fix GCC 6: cannot convert x to y
[platform/upstream/libphonenumber.git] / tools / cpp / src / cpp-build / generate_geocoding_data.cc
index ef94ef6..693c30b 100644 (file)
@@ -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