Add const version of 'Path::base' accessor

This commit is contained in:
Norman Feske 2013-01-12 21:16:34 +01:00
parent f7b1bf8745
commit 7318c5d7d4
1 changed files with 3 additions and 1 deletions

View File

@ -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); }