diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-02 16:58:14 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-02 16:58:14 +0100 |
commit | cd6de3b24e463a47457b4aa8fad2d5257e8c44e7 (patch) | |
tree | c9c8bebe40a0bfeedabc56a00420609312e770bd /src/Instance.cxx | |
parent | dcd483bd99446622c8fde6ad3e0df50ed40b4164 (diff) |
neighbor/{Explorer,Listener}: add "noexcept"
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r-- | src/Instance.cxx | 4 |
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); |