| Index: src/FilterEngine.cpp |
| =================================================================== |
| --- a/src/FilterEngine.cpp |
| +++ b/src/FilterEngine.cpp |
| @@ -527,17 +527,17 @@ |
| { |
| if (params.size() < 1) |
| return; |
| if (!params[0].IsObject()) |
| { |
| return; |
| } |
| - callback(NotificationPtr(new Notification(JsValue(params[0])))); |
| + callback(Notification(JsValue(params[0]))); |
| } |
| int FilterEngine::CompareVersions(const std::string& v1, const std::string& v2) const |
| { |
| JsValueList params; |
| params.push_back(jsEngine->NewValue(v1)); |
| params.push_back(jsEngine->NewValue(v2)); |