db/update/InotifySource: add noexcept

This commit is contained in:
Max Kellermann
2019-09-01 13:58:45 +02:00
parent 9f92b59376
commit 32f865f146
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ InotifySource::Add(const char *path_fs, unsigned mask)
}
void
InotifySource::Remove(unsigned wd)
InotifySource::Remove(unsigned wd) noexcept
{
auto ifd = GetSocket().ToFileDescriptor();
int ret = inotify_rm_watch(ifd.Get(), wd);