mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
os/vfs.h: const 'Directory' arg for 'Watch_handler'
The watch mechanism should not require a reference to a mutable directory.
This commit is contained in:
parent
7de2b040f8
commit
3031fd2a7d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user