aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongUpdate.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-08 19:43:09 +0100
committerMax Kellermann <max@duempel.org>2014-01-08 19:48:55 +0100
commitac1983eae32caa7c6f10ec4bab32a9657bdb2668 (patch)
tree5139b83e3bef91741750f83dcdd9fea9f8304e7a /src/SongUpdate.cxx
parent33c5fc95b4281520fd54c76e4f898d8256b333f7 (diff)
downloadmpd-ac1983eae32caa7c6f10ec4bab32a9657bdb2668.tar.gz
mpd-ac1983eae32caa7c6f10ec4bab32a9657bdb2668.tar.xz
mpd-ac1983eae32caa7c6f10ec4bab32a9657bdb2668.zip
tag/TagBuilder: rename Commit() to CommitNew()
Diffstat (limited to 'src/SongUpdate.cxx')
-rw-r--r--src/SongUpdate.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx
index aef484a6f..fe78e1e0f 100644
--- a/src/SongUpdate.cxx
+++ b/src/SongUpdate.cxx
@@ -100,7 +100,7 @@ Song::UpdateFile()
mtime = st.st_mtime;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}
@@ -129,7 +129,7 @@ Song::UpdateFileInArchive()
return false;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}
@@ -143,6 +143,6 @@ Song::UpdateStream()
return false;
delete tag;
- tag = tag_builder.Commit();
+ tag = tag_builder.CommitNew();
return true;
}