diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index d8bab299c..8c792a2cf 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -285,6 +285,11 @@ public: bool IsAbsolute() const noexcept { return Traits::IsAbsolute(c_str()); } + + gcc_pure + const_pointer_type GetSuffix() const noexcept { + return ((Path)*this).GetSuffix(); + } }; #endif