summaryrefslogtreecommitdiff
path: root/src/Instance.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-02 16:58:14 +0100
committerMax Kellermann <max@musicpd.org>2018-01-02 16:58:14 +0100
commitcd6de3b24e463a47457b4aa8fad2d5257e8c44e7 (patch)
treec9c8bebe40a0bfeedabc56a00420609312e770bd /src/Instance.cxx
parentdcd483bd99446622c8fde6ad3e0df50ed40b4164 (diff)
neighbor/{Explorer,Listener}: add "noexcept"
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index bd91faccd..bd5d377a9 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -98,14 +98,14 @@ Instance::OnDatabaseSongRemoved(const char *uri)
#ifdef ENABLE_NEIGHBOR_PLUGINS
void
-Instance::FoundNeighbor(gcc_unused const NeighborInfo &info)
+Instance::FoundNeighbor(gcc_unused const NeighborInfo &info) noexcept
{
for (auto &partition : partitions)
partition.EmitIdle(IDLE_NEIGHBOR);
}
void
-Instance::LostNeighbor(gcc_unused const NeighborInfo &info)
+Instance::LostNeighbor(gcc_unused const NeighborInfo &info) noexcept
{
for (auto &partition : partitions)
partition.EmitIdle(IDLE_NEIGHBOR);