fs/AllocatedPath: add GetSuffix()

This commit is contained in:
Max Kellermann 2019-06-15 13:57:16 +02:00
parent 9f246fc0dc
commit 476647bfa0

View File

@ -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.
*/