diff --git a/repos/os/include/os/vfs.h b/repos/os/include/os/vfs.h index f754e40c26..7917c33439 100644 --- a/repos/os/include/os/vfs.h +++ b/repos/os/include/os/vfs.h @@ -630,7 +630,7 @@ class Genode::Watch_handler : public Vfs::Watch_response_handler, public: - Watch_handler(Directory &dir, Directory::Path const &rel_path, + Watch_handler(Directory const &dir, Directory::Path const &rel_path, T &obj, void (T::*member)()) : Watcher(dir, rel_path, *this), _obj(obj), _member(member)