From 7ce96585f5e0a5786f17d7996252b5c58e60d0ed Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 1 Mar 2015 01:09:53 +0100 Subject: fs/Path: add method GetSuffix() Type-safe wrapper for uri_get_suffix(). --- src/TagFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TagFile.cxx') diff --git a/src/TagFile.cxx b/src/TagFile.cxx index e4e9914e4..168be6063 100644 --- a/src/TagFile.cxx +++ b/src/TagFile.cxx @@ -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; -- cgit v1.2.3