Merge pull request #37 from kiwix/fix_android

The `Result` class is not in the `kiwix` namespace. (fix android build)
This commit is contained in:
Kelson 2017-03-30 07:44:44 +02:00 committed by GitHub
commit 46fab22a73
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ JNIEXPORT jstring JNICALL Java_org_kiwix_kiwixlib_JNIKiwix_indexedQuery
(JNIEnv *env, jclass obj, jstring query, jint count) { (JNIEnv *env, jclass obj, jstring query, jint count) {
std::string cQuery = jni2c(query, env); std::string cQuery = jni2c(query, env);
unsigned int cCount = jni2c(count); unsigned int cCount = jni2c(count);
kiwix::Result *p_result; Result *p_result;
std::string result; std::string result;
pthread_mutex_lock(&searcherLock); pthread_mutex_lock(&searcherLock);