aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-28 12:35:26 +0200
committerMax Kellermann <max@duempel.org>2014-08-28 13:03:18 +0200
commit2efd8ef52ddf880c26d48bcb55eb1fd4c830481a (patch)
tree41110f0e91fad7ef12ac930ab19e5b96fa5962eb /src/DetachedSong.cxx
parent6ad933982f68f5fcbd1b3179bf5fed26f63aa792 (diff)
downloadmpd-2efd8ef52ddf880c26d48bcb55eb1fd4c830481a.tar.gz
mpd-2efd8ef52ddf880c26d48bcb55eb1fd4c830481a.tar.xz
mpd-2efd8ef52ddf880c26d48bcb55eb1fd4c830481a.zip
db/LightSong: use std::chrono::duration for start_ms and end_ms
Diffstat (limited to 'src/DetachedSong.cxx')
-rw-r--r--src/DetachedSong.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DetachedSong.cxx b/src/DetachedSong.cxx
index 752578430..fd81545c3 100644
--- a/src/DetachedSong.cxx
+++ b/src/DetachedSong.cxx
@@ -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()
{