diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index 1487a5acf..928705b77 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -294,6 +294,11 @@ public: return Traits::Relative(c_str(), other_fs.c_str()); } + gcc_pure + const_pointer_type GetSuffix() const noexcept { + return ((Path)*this).GetSuffix(); + } + /** * Chop trailing directory separators. */