Commit 476647bf authored by Max Kellermann's avatar Max Kellermann

fs/AllocatedPath: add GetSuffix()

parent 9f246fc0
...@@ -294,6 +294,11 @@ public: ...@@ -294,6 +294,11 @@ public:
return Traits::Relative(c_str(), other_fs.c_str()); 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. * Chop trailing directory separators.
*/ */
......
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