db/LightSong: use std::chrono::duration for start_ms and end_ms

This commit is contained in:
Max Kellermann
2014-08-28 12:35:26 +02:00
parent 6ad933982f
commit 2efd8ef52d
7 changed files with 28 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ Song::Export() const
dest.real_uri = nullptr;
dest.tag = &tag;
dest.mtime = mtime;
dest.start_ms = start_ms;
dest.end_ms = end_ms;
dest.start_time = SongTime::FromMS(start_ms);
dest.end_time = SongTime::FromMS(end_ms);
return dest;
}