Index: include/AdblockPlus/Notification.h |
diff --git a/include/AdblockPlus/Notification.h b/include/AdblockPlus/Notification.h |
index 57b1ff0e33e28fbf73b6d72b5e08c29a4ae19e18..f2779b29387ed34980f66e1e01d03e1befe7aeae 100644 |
--- a/include/AdblockPlus/Notification.h |
+++ b/include/AdblockPlus/Notification.h |
@@ -42,12 +42,12 @@ namespace AdblockPlus |
{ |
friend class FilterEngine; |
protected: |
- static std::tr1::shared_ptr<Notification> JsValueToNotification(const JsValuePtr& jsValue); |
+ static std::tr1::shared_ptr<Notification> JsValueToNotification(JsValue&& jsValue); |
/** |
* Constructor. |
* @param jsValue `JsValuePtr` notification JavaScript object. |
*/ |
- explicit Notification(const JsValuePtr& jsValue); |
+ explicit Notification(JsValue&& jsValue); |
public: |
/** |
* Retrieves the type of this notification. |