summaryrefslogtreecommitdiff
path: root/src/TagArchive.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-05 19:07:05 +0200
committerMax Kellermann <max@musicpd.org>2018-07-05 19:07:05 +0200
commit3d3a1232b1d2b58d2cc05b2dd5c37f2256832693 (patch)
tree250933da4d5dc29145ce18e5a05a7f8da30396fd /src/TagArchive.cxx
parent09d4176210d66cf9e2d258b563a7811892c560f4 (diff)
tag/Handler: convert to class with virtual methods
Diffstat (limited to 'src/TagArchive.cxx')
-rw-r--r--src/TagArchive.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TagArchive.cxx b/src/TagArchive.cxx
index ce0f2ed39..a2d014d52 100644
--- a/src/TagArchive.cxx
+++ b/src/TagArchive.cxx
@@ -25,7 +25,7 @@
bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
- const TagHandler &handler, void *handler_ctx) noexcept
+ TagHandler &handler) noexcept
try {
Mutex mutex;
@@ -33,7 +33,7 @@ try {
if (!is)
return false;
- return tag_stream_scan(*is, handler, handler_ctx);
+ return tag_stream_scan(*is, handler);
} catch (const std::exception &e) {
return false;
}