[ox] Replace C strings in FS with StringView
This commit is contained in:
@@ -22,6 +22,9 @@ PathIterator::PathIterator(const char *path, std::size_t maxSize, std::size_t it
|
||||
PathIterator::PathIterator(const char *path): PathIterator(path, ox_strlen(path)) {
|
||||
}
|
||||
|
||||
PathIterator::PathIterator(CRStringView path): PathIterator(path.data(), path.bytes()) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 0 if no error
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user