From 4c1cfca95b8a6dd2c0d9a7b6df065912eb8b4231 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Sep 2020 14:18:28 +0200 Subject: [PATCH] db/update/InotifyUpdate: pass path by value to recursive_watch_subdirectories() --- src/db/update/InotifyUpdate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);