diff --git a/src/android/LogListener.cxx b/src/android/LogListener.cxx index e72d3f84f..e639fe590 100644 --- a/src/android/LogListener.cxx +++ b/src/android/LogListener.cxx @@ -1,5 +1,5 @@ /* - * Copyright 2003-2018 The Music Player Daemon Project + * Copyright 2003-2019 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -24,7 +24,8 @@ #include "util/FormatString.hxx" void -LogListener::OnLog(JNIEnv *env, int priority, const char *fmt, ...) const +LogListener::OnLog(JNIEnv *env, int priority, + const char *fmt, ...) const noexcept { assert(env != nullptr); diff --git a/src/android/LogListener.hxx b/src/android/LogListener.hxx index 9123fd85c..5d383bedc 100644 --- a/src/android/LogListener.hxx +++ b/src/android/LogListener.hxx @@ -1,5 +1,5 @@ /* - * Copyright 2003-2018 The Music Player Daemon Project + * Copyright 2003-2019 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -24,9 +24,11 @@ class LogListener : public Java::GlobalObject { public: - LogListener(JNIEnv *env, jobject obj):Java::GlobalObject(env, obj) {} + LogListener(JNIEnv *env, jobject obj) noexcept + :Java::GlobalObject(env, obj) {} - void OnLog(JNIEnv *env, int priority, const char *fmt, ...) const; + void OnLog(JNIEnv *env, int priority, + const char *fmt, ...) const noexcept; }; #endif