aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/upnp
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/db/plugins/upnp
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 '')
-rw-r--r--src/db/plugins/upnp/UpnpDatabasePlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
index 66951f402..e16f230fb 100644
--- a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
+++ b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx
@@ -66,7 +66,7 @@ public:
real_uri = real_uri2.c_str();
tag = &tag2;
mtime = 0;
- start_ms = end_ms = 0;
+ start_time = end_time = SongTime::zero();
}
};
@@ -360,7 +360,7 @@ visitSong(const UPnPDirObject &meta, const char *path,
song.real_uri = meta.url.c_str();
song.tag = &meta.tag;
song.mtime = 0;
- song.start_ms = song.end_ms = 0;
+ song.start_time = song.end_time = SongTime::zero();
return !selection.Match(song) || visit_song(song, error);
}