mirror of https://github.com/kiwix/libkiwix.git
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:
commit
46fab22a73
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue