aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSave.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongSave.cxx')
-rw-r--r--src/SongSave.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SongSave.cxx b/src/SongSave.cxx
index 63e279a16..c2e3afce5 100644
--- a/src/SongSave.cxx
+++ b/src/SongSave.cxx
@@ -21,8 +21,7 @@
#include "SongSave.hxx"
#include "Song.hxx"
#include "TagSave.hxx"
-#include "Directory.hxx"
-#include "TextFile.hxx"
+#include "fs/TextFile.hxx"
#include "tag/Tag.hxx"
#include "tag/TagBuilder.hxx"
#include "util/StringUtil.hxx"
@@ -105,7 +104,7 @@ song_load(TextFile &file, Directory *parent, const char *uri,
}
if (tag.IsDefined())
- song->tag = tag.Commit();
+ song->tag = tag.CommitNew();
return song;
}