aboutsummaryrefslogtreecommitdiffstats
path: root/src/TagFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-07 18:52:19 +0100
committerMax Kellermann <max@duempel.org>2014-02-07 18:52:19 +0100
commit6b421cc354cb0c297fcf99d7824b99b61caec99d (patch)
treee41f9fd76e3850da2716ab3dfd4fa08025f351f3 /src/TagFile.cxx
parent37ec29b225095e9c02b974134e056f8ba1a8678c (diff)
downloadmpd-6b421cc354cb0c297fcf99d7824b99b61caec99d.tar.gz
mpd-6b421cc354cb0c297fcf99d7824b99b61caec99d.tar.xz
mpd-6b421cc354cb0c297fcf99d7824b99b61caec99d.zip
DecoderPlugin: pass Path instance to file_decode() and scan_file()
Diffstat (limited to 'src/TagFile.cxx')
-rw-r--r--src/TagFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index a602c0b9b..4c2b0d8ac 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -53,7 +53,7 @@ public:
}
bool ScanFile(const DecoderPlugin &plugin) {
- return plugin.ScanFile(path_fs.c_str(), handler, handler_ctx);
+ return plugin.ScanFile(path_fs, handler, handler_ctx);
}
bool ScanStream(const DecoderPlugin &plugin) {