zeroconf/Glue: add noexcept

This commit is contained in:
Max Kellermann 2021-02-24 14:15:08 +01:00
parent fe741bd767
commit 0157643667
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ ZeroconfInit(const ConfigData &config, [[maybe_unused]] EventLoop &loop)
}
void
ZeroconfDeinit()
ZeroconfDeinit() noexcept
{
if (!zeroconfEnabled)
return;

View File

@ -34,7 +34,7 @@ void
ZeroconfInit(const ConfigData &config, EventLoop &loop);
void
ZeroconfDeinit();
ZeroconfDeinit() noexcept;
#else /* ! HAVE_ZEROCONF */
@ -43,7 +43,7 @@ ZeroconfInit(const ConfigData &, EventLoop &)
{}
static inline void
ZeroconfDeinit()
ZeroconfDeinit() noexcept
{}
#endif /* ! HAVE_ZEROCONF */