summaryrefslogtreecommitdiff
path: root/test/ContainerScan.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/ContainerScan.cxx')
-rw-r--r--test/ContainerScan.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ContainerScan.cxx b/test/ContainerScan.cxx
index 7ec55c0fe..40ec29276 100644
--- a/test/ContainerScan.cxx
+++ b/test/ContainerScan.cxx
@@ -19,6 +19,8 @@
#include "config.h"
#include "Log.hxx"
+#include "DetachedSong.hxx"
+#include "SongSave.hxx"
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "fs/Path.hxx"
@@ -84,7 +86,7 @@ try {
BufferedOutputStream bos(sos);
for (const auto &song : v)
- bos.Format("%s\n", song.c_str());
+ song_save(bos, song);
bos.Flush();