diff --git a/src/android/LogListener.cxx b/src/android/LogListener.cxx index 56cb1753c..872208e5d 100644 --- a/src/android/LogListener.cxx +++ b/src/android/LogListener.cxx @@ -23,6 +23,11 @@ #include "util/AllocatedString.hxx" #include "util/FormatString.hxx" +LogListener::LogListener(JNIEnv *env, jobject obj) noexcept + :Java::GlobalObject(env, obj) +{ +} + void LogListener::OnLog(JNIEnv *env, int priority, const char *fmt, ...) const noexcept diff --git a/src/android/LogListener.hxx b/src/android/LogListener.hxx index 76f5300b7..34180e77b 100644 --- a/src/android/LogListener.hxx +++ b/src/android/LogListener.hxx @@ -24,8 +24,7 @@ class LogListener : public Java::GlobalObject { public: - LogListener(JNIEnv *env, jobject obj) noexcept - :Java::GlobalObject(env, obj) {} + LogListener(JNIEnv *env, jobject obj) noexcept; void OnLog(JNIEnv *env, int priority, const char *fmt, ...) const noexcept;