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

index 4b9b704..2b4002b 100644 (file)
@@ -160,7 +160,7 @@ static KeyBindings global_key_bindings{{{
 }}};
 
 KeyBindings &
-GetGlobalKeyBindings()
+GetGlobalKeyBindings() noexcept
 {
        return global_key_bindings;
 }
index a3b80fe..3abef45 100644 (file)
@@ -26,6 +26,6 @@ struct KeyBindings;
 
 gcc_const
 KeyBindings &
-GetGlobalKeyBindings();
+GetGlobalKeyBindings() noexcept;
 
 #endif