summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-12-28 13:46:47 +0100
committerMax Kellermann <max@musicpd.org>2018-12-28 14:00:55 +0100
commit2677b902449b27d90d134d7303cea182de779cbd (patch)
treebb93185421922407b591fdc737043f732b38f762 /src/db
parent1b20fa441df2587652716d3c66bf1cd23a57b214 (diff)
db/update/InotifyQueue: add `noexcept`
Diffstat (limited to 'src/db')
-rw-r--r--src/db/update/InotifyQueue.cxx2
-rw-r--r--src/db/update/InotifyQueue.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/db/update/InotifyQueue.cxx b/src/db/update/InotifyQueue.cxx
index 8412583b7..5ce9a2e02 100644
--- a/src/db/update/InotifyQueue.cxx
+++ b/src/db/update/InotifyQueue.cxx
@@ -32,7 +32,7 @@ static constexpr std::chrono::steady_clock::duration INOTIFY_UPDATE_DELAY =
std::chrono::seconds(5);
void
-InotifyQueue::OnDelay()
+InotifyQueue::OnDelay() noexcept
{
unsigned id;
diff --git a/src/db/update/InotifyQueue.hxx b/src/db/update/InotifyQueue.hxx
index 60272deb6..bb6159019 100644
--- a/src/db/update/InotifyQueue.hxx
+++ b/src/db/update/InotifyQueue.hxx
@@ -42,7 +42,7 @@ public:
void Enqueue(const char *uri_utf8);
private:
- void OnDelay();
+ void OnDelay() noexcept;
};
#endif