summaryrefslogtreecommitdiff
path: root/src/mutable_song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutable_song.cpp')
-rw-r--r--src/mutable_song.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mutable_song.cpp b/src/mutable_song.cpp
index 6b99e886..ad4dadc3 100644
--- a/src/mutable_song.cpp
+++ b/src/mutable_song.cpp
@@ -178,10 +178,10 @@ void MutableSong::setMTime(time_t mtime)
m_mtime = mtime;
}
-void MutableSong::setTags(SetFunction set, const std::string &value, const std::string &delimiter)
+void MutableSong::setTags(SetFunction set, const std::string &value)
{
std::vector<std::string> tags;
- boost::iter_split(tags, value, boost::first_finder(delimiter));
+ boost::iter_split(tags, value, boost::first_finder(Song::TagsSeparator));
size_t i = 0;
for (; i < tags.size(); ++i)
(this->*set)(tags[i], i);