Fix wrong implementation in Book.

As `update` is overloaded, the jni method name include the argument type.
And we have changed the type of one version of `update`, so we need
to change its name.
This commit is contained in:
Matthieu Gautier 2023-01-24 15:21:22 +01:00
parent 897c78a718
commit 775b55c3b0

View File

@ -41,7 +41,7 @@ METHOD(void, update__Lorg_kiwix_libkiwix_Book_2, jobject otherBook)
THIS->update(*getPtr<kiwix::Book>(env, otherBook)); THIS->update(*getPtr<kiwix::Book>(env, otherBook));
} }
METHOD(void, update__Lorg_kiwix_libkiwix_JNIKiwixReader_2, jobject archive) METHOD(void, update__Lorg_kiwix_libzim_Archive_2, jobject archive)
{ {
THIS->update(*getPtr<zim::Archive>(env, archive)); THIS->update(*getPtr<zim::Archive>(env, archive));
} }