temporary fix GCC 6: cannot convert x to y 94/105594/1 accepted/tizen/common/20161220.190911 accepted/tizen/ivi/20161220.223358 accepted/tizen/mobile/20161220.223324 accepted/tizen/wearable/20161220.223337 submit/tizen/20161220.075118
authorJeesun Kim <iamjs.kim@samsung.com>
Mon, 19 Dec 2016 05:32:45 +0000 (14:32 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Mon, 19 Dec 2016 05:33:40 +0000 (14:33 +0900)
Change-Id: I73c515e348ede9703d90e10faf24cf016387bda6

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