mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
Add const version of 'Path::base' accessor
This commit is contained in:
parent
f7b1bf8745
commit
7318c5d7d4
@ -229,7 +229,9 @@ namespace Genode {
|
||||
|
||||
void import(char const *path, char const *pwd = 0) { _import(path, pwd); }
|
||||
|
||||
char *base() { return _path; }
|
||||
char *base() { return _path; }
|
||||
char const *base() const { return _path; }
|
||||
|
||||
size_t max_len() { return _path_max_len; }
|
||||
|
||||
void remove_trailing(char c) { remove_trailing(c, _path); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user