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; |