fs/Path: add method GetSuffix()
Type-safe wrapper for uri_get_suffix().
This commit is contained in:
@@ -87,7 +87,7 @@ tag_file_scan(Path path_fs, const tag_handler &handler, void *handler_ctx)
|
||||
|
||||
/* check if there's a suffix and a plugin */
|
||||
|
||||
const char *suffix = uri_get_suffix(path_fs.c_str());
|
||||
const char *suffix = path_fs.GetSuffix();
|
||||
if (suffix == nullptr)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user