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/20180312.085619^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F172093%2F1;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Push] Prefix string type with namespace std The patch fixes build break in Tizen: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);