Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -277,20 +277,20 @@ namespace AdblockPlus |
~TimerTaskInfo(); |
int delay; |
std::vector<std::unique_ptr<v8::Persistent<v8::Value>>> arguments; |
}; |
typedef std::list<TimerTaskInfo> TimerTaskInfos; |
struct TimerTask |
{ |
std::weak_ptr<JsEngine> weakJsEngine; |
- TimerTaskInfos::const_iterator taskInfoIterator; |
+ TimerTaskInfos::iterator taskInfoIterator; |
}; |
TimerTask CreateTimerTask(const v8::Arguments& arguments); |
- void CallTimerTask(TimerTaskInfos::const_iterator taskInfoIterator); |
+ void CallTimerTask(TimerTaskInfos::iterator taskInfoIterator); |
private: |
explicit JsEngine(const ScopedV8IsolatePtr& isolate); |
JsValuePtr GetGlobalObject(); |
/// Isolate must be disposed only after disposing of all objects which are |
/// using it. |
ScopedV8IsolatePtr isolate; |