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

Unified Diff: libadblockplus-android/jni/JniFilterEngine.cpp

Issue 29435570: Issue 5205 - Add Subscription.isDisabled() (Closed)
Patch Set: removed one more [unnecessary] casting Created May 26, 2017, 5:50 a.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
Index: libadblockplus-android/jni/JniFilterEngine.cpp
diff --git a/libadblockplus-android/jni/JniFilterEngine.cpp b/libadblockplus-android/jni/JniFilterEngine.cpp
index 18b517e6218b8c256563d370bdf6f53530a020a1..25a9225af081c12b32ab78ea2864273d449b65b2 100644
--- a/libadblockplus-android/jni/JniFilterEngine.cpp
+++ b/libadblockplus-android/jni/JniFilterEngine.cpp
@@ -489,7 +489,7 @@ static void JNICALL JniSetAcceptableAdsEnabled(JNIEnv* env, jclass clazz, jlong
try
{
- engine->SetAAEnabled((bool)(jvalue == JNI_TRUE));
+ engine->SetAAEnabled(jvalue == JNI_TRUE);
}
CATCH_AND_THROW(env)
}

Powered by Google App Engine
This is Rietveld