Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 29394612: Issue 5035 - Fix build on gcc 4.8 (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created March 24, 2017, 9:10 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/JsEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/JsEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld