summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-31 14:09:47 +0200
committerMax Kellermann <max@musicpd.org>2019-05-31 14:09:47 +0200
commit7739b3960c8bfefa2e439207a891db76004f5c2c (patch)
tree14f9be4c00b0446546125d6ff5e1fd0b43b5a97d /src/mixer
parent11ec7117ab8dc7b1159bb910da2b275e0638521d (diff)
mixer/Listener: add `noexcept`
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/Listener.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixer/Listener.hxx b/src/mixer/Listener.hxx
index 84361e56c..18c54cf94 100644
--- a/src/mixer/Listener.hxx
+++ b/src/mixer/Listener.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
@@ -28,7 +28,8 @@ class Mixer;
*/
class MixerListener {
public:
- virtual void OnMixerVolumeChanged(Mixer &mixer, int volume) = 0;
+ virtual void OnMixerVolumeChanged(Mixer &mixer,
+ int volume) noexcept = 0;
};
#endif