mixer/Listener: add noexcept

This commit is contained in:
Max Kellermann
2019-05-31 14:09:47 +02:00
parent 11ec7117ab
commit 7739b3960c
4 changed files with 7 additions and 6 deletions

View File

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