os: declare Path::max_len() const

This commit is contained in:
Christian Helmuth 2020-07-21 16:06:48 +02:00
parent 3639a1af80
commit 5122917d62

View File

@ -240,7 +240,7 @@ class Genode::Path_base
char const *base() const { return _path; } char const *base() const { return _path; }
char const *string() const { return _path; } char const *string() const { return _path; }
size_t max_len() { return _path_max_len; } size_t max_len() const { return _path_max_len; }
void remove_trailing(char c) { remove_trailing(c, _path); } void remove_trailing(char c) { remove_trailing(c, _path); }