summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-17 14:18:28 +0200
committerMax Kellermann <max@musicpd.org>2020-09-17 14:18:29 +0200
commit4c1cfca95b8a6dd2c0d9a7b6df065912eb8b4231 (patch)
treefe9b05ac1d5f9ded217ff18ff787fd550fe2d475
parente113ce96214971c322c87255fa22a9e8e0ed7ab3 (diff)
db/update/InotifyUpdate: pass path by value to recursive_watch_subdirectories()
-rw-r--r--src/db/update/InotifyUpdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/InotifyUpdate.cxx b/src/db/update/InotifyUpdate.cxx
index 0b5cd1893..fd3e43694 100644
--- a/src/db/update/InotifyUpdate.cxx
+++ b/src/db/update/InotifyUpdate.cxx
@@ -184,7 +184,7 @@ SkipFilename(Path name) noexcept
static void
recursive_watch_subdirectories(WatchDirectory &parent,
- const AllocatedPath &path_fs,
+ const Path path_fs,
unsigned depth)
try {
assert(depth <= inotify_max_depth);