aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSave.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-28 12:49:29 +0200
committerMax Kellermann <max@duempel.org>2014-08-28 13:03:18 +0200
commit888ab0c89c154b4bb30b626734ce6a14c42a8ed5 (patch)
treec7fcfd27986983966b3639fa684c0fcdf36501c7 /src/SongSave.cxx
parent2efd8ef52ddf880c26d48bcb55eb1fd4c830481a (diff)
downloadmpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.tar.gz
mpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.tar.xz
mpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.zip
db/simple/Song: use std::chrono::duration for start_ms and end_ms
Diffstat (limited to 'src/SongSave.cxx')
-rw-r--r--src/SongSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongSave.cxx b/src/SongSave.cxx
index d06dabfd6..8b532bedd 100644
--- a/src/SongSave.cxx
+++ b/src/SongSave.cxx
@@ -52,7 +52,7 @@ song_save(BufferedOutputStream &os, const Song &song)
{
os.Format(SONG_BEGIN "%s\n", song.uri);
- range_save(os, song.start_ms, song.end_ms);
+ range_save(os, song.start_time.ToMS(), song.end_time.ToMS());
tag_save(os, song.tag);