fs/AllocatedPath: add method GetSuffix()

This commit is contained in:
Max Kellermann 2020-06-10 21:00:35 +02:00
parent e92129f449
commit 563c7318f9

View File

@ -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