android/LogListener: un-inline the constructor

This commit is contained in:
Max Kellermann 2021-05-27 16:12:21 +02:00
parent 262e1957b7
commit a83bf97b98
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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;