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

Unified Diff: test/UpdateCheck.cpp

Issue 29409580: Issue 5013 - Make parameter const ref when applicable. (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created April 11, 2017, 1:58 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
« src/Utils.cpp ('K') | « test/Prefs.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/UpdateCheck.cpp
===================================================================
--- a/test/UpdateCheck.cpp
+++ b/test/UpdateCheck.cpp
@@ -81,17 +81,17 @@
}
void ForceUpdateCheck()
{
filterEngine->ForceUpdateCheck(
std::bind(&UpdateCheckTest::UpdateCallback, this, std::placeholders::_1));
}
- void EventCallback(AdblockPlus::JsValueList& params)
+ void EventCallback(const AdblockPlus::JsValueList& params)
{
eventCallbackCalled = true;
eventCallbackParams = params;
}
void UpdateCallback(const std::string& error)
{
updateCallbackCalled = true;
« src/Utils.cpp ('K') | « test/Prefs.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld