diff options
Diffstat (limited to 'src/InotifyQueue.cxx')
-rw-r--r-- | src/InotifyQueue.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/InotifyQueue.cxx b/src/InotifyQueue.cxx index 28b60ebee..c24816241 100644 --- a/src/InotifyQueue.cxx +++ b/src/InotifyQueue.cxx @@ -26,14 +26,12 @@ #include <string.h> -enum { - /** - * Wait this long after the last change before calling - * update_enqueue(). This increases the probability that - * updates can be bundled. - */ - INOTIFY_UPDATE_DELAY_S = 5, -}; +/** + * Wait this long after the last change before calling + * update_enqueue(). This increases the probability that updates can + * be bundled. + */ +static constexpr unsigned INOTIFY_UPDATE_DELAY_S = 5; void InotifyQueue::OnTimeout() |