db/update/InotifyUpdate: pass path by value to recursive_watch_subdirectories()
This commit is contained in:
@@ -184,7 +184,7 @@ SkipFilename(Path name) noexcept
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
recursive_watch_subdirectories(WatchDirectory &parent,
|
recursive_watch_subdirectories(WatchDirectory &parent,
|
||||||
const AllocatedPath &path_fs,
|
const Path path_fs,
|
||||||
unsigned depth)
|
unsigned depth)
|
||||||
try {
|
try {
|
||||||
assert(depth <= inotify_max_depth);
|
assert(depth <= inotify_max_depth);
|
||||||
|
Reference in New Issue
Block a user