From: Lukasz Wojciechowski Date: Sat, 10 Mar 2018 02:25:34 +0000 (+0100) Subject: [Push] Prefix string type with namespace std X-Git-Tag: submit/tizen_4.0/20180323.180729^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2c7a32a5fbc41e6bf20c891797c786e946628c9;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Push] Prefix string type with namespace std The patch fixes build break in Tizen:4.0:Unified. The string type without std::string is not recognized by compiler. Change-Id: I048bad0a1d71cb841965a84b2d11d2afb9c19eea Signed-off-by: Lukasz Wojciechowski --- diff --git a/src/push/push_manager_common.cc b/src/push/push_manager_common.cc index 406eb4c4..c307e959 100644 --- a/src/push/push_manager_common.cc +++ b/src/push/push_manager_common.cc @@ -93,8 +93,8 @@ void PushManagerCommon::notificationToJson(push_service_notification_h noti, // parse query string and find value for alertMessage pcrecpp::StringPiece input(fullMessage); pcrecpp::RE re("([^=]+)=([^&]*)&?"); - string key; - string value; + std::string key; + std::string value; while (re.Consume(&input, &key, &value)) { if (key == "alertMessage") { (*obj)["alertMessage"] = picojson::value(value);