Index: src/Notification.cpp |
=================================================================== |
--- a/src/Notification.cpp |
+++ b/src/Notification.cpp |
@@ -88,20 +88,20 @@ std::vector<std::string> Notification::G |
{ |
std::vector<std::string> retValue; |
JsValuePtr jsLinks = GetProperty("links"); |
if (!jsLinks->IsArray()) |
{ |
return retValue; |
} |
JsValueList urlLinksList = jsLinks->AsList(); |
- for (JsValueList::const_iterator linkIterator = urlLinksList.begin(); |
- linkIterator != urlLinksList.end(); ++linkIterator) |
+ for (auto linkIterator = urlLinksList.cbegin(); |
+ linkIterator != urlLinksList.cend(); ++linkIterator) |
{ |
retValue.push_back((*linkIterator)->AsString()); |
} |
return retValue; |
} |
void Notification::MarkAsShown() |
{ |
jsEngine->Evaluate("API.markNotificationAsShown")->Call(*GetProperty("id")); |
-} |
+} |