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

@@ -28,8 +28,8 @@ DetachedSong::DetachedSong(const LightSong &other)
real_uri(other.real_uri != nullptr ? other.real_uri : ""),
tag(*other.tag),
mtime(other.mtime),
start_time(SongTime::FromMS(other.start_ms)),
end_time(SongTime::FromMS(other.end_ms)) {}
start_time(other.start_time),
end_time(other.end_time) {}
DetachedSong::~DetachedSong()
{