From 6ad933982f68f5fcbd1b3179bf5fed26f63aa792 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2014 06:54:19 +0200 Subject: DetachedSong: use std::chrono::duration for start_ms and end_ms --- src/db/plugins/simple/Song.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db') diff --git a/src/db/plugins/simple/Song.cxx b/src/db/plugins/simple/Song.cxx index 3bd3d8316..9e62d579e 100644 --- a/src/db/plugins/simple/Song.cxx +++ b/src/db/plugins/simple/Song.cxx @@ -59,8 +59,8 @@ Song::NewFrom(DetachedSong &&other, Directory &parent) Song *song = song_alloc(other.GetURI(), parent); song->tag = std::move(other.WritableTag()); song->mtime = other.GetLastModified(); - song->start_ms = other.GetStartMS(); - song->end_ms = other.GetEndMS(); + song->start_ms = other.GetStartTime().ToMS(); + song->end_ms = other.GetEndTime().ToMS(); return song; } -- cgit v1.2.3