screen_status: add `noexcept`
authorMax Kellermann <max@musicpd.org>
Tue, 10 Sep 2019 07:50:45 +0000 (09:50 +0200)
committerMax Kellermann <max@musicpd.org>
Tue, 10 Sep 2019 07:50:45 +0000 (09:50 +0200)
src/screen_status.cxx
src/screen_status.hxx

index 64f6bdc..715350c 100644 (file)
 #include <stdarg.h>
 
 void
-screen_status_message(const char *msg)
+screen_status_message(const char *msg) noexcept
 {
        screen->status_bar.SetMessage(msg);
 }
 
 void
-screen_status_printf(const char *format, ...)
+screen_status_printf(const char *format, ...) noexcept
 {
        va_list ap;
        va_start(ap,format);
index c2996fd..2aad17d 100644 (file)
 #include "util/Compiler.h"
 
 void
-screen_status_message(const char *msg);
+screen_status_message(const char *msg) noexcept;
 
 gcc_printf(1, 2)
 void
-screen_status_printf(const char *format, ...);
+screen_status_printf(const char *format, ...) noexcept;
 
 #endif