Commit 563c7318 authored by Max Kellermann's avatar Max Kellermann

fs/AllocatedPath: add method GetSuffix()

parent e92129f4
...@@ -285,6 +285,11 @@ public: ...@@ -285,6 +285,11 @@ public:
bool IsAbsolute() const noexcept { bool IsAbsolute() const noexcept {
return Traits::IsAbsolute(c_str()); return Traits::IsAbsolute(c_str());
} }
gcc_pure
const_pointer_type GetSuffix() const noexcept {
return ((Path)*this).GetSuffix();
}
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment