FHU: Convert relative/absolute check to string_view

This commit is contained in:
Ryan Houdek committed 2023-04-07 17:01:52 -07:00
1 parent 46b306e861
commit dce6389d87
1 file changed
+2 -2
+2 -2
View File
@@ -127,11 +127,11 @@ namespace FHU::Filesystem {
return SubString;
}
inline bool IsRelative(const fextl::string &Path) {
inline bool IsRelative(const std::string_view Path) {
return !Path.starts_with('/');
}
inline bool IsAbsolute(const fextl::string &Path) {
inline bool IsAbsolute(const std::string_view Path) {
return Path.starts_with('/');
}