DetachedSong, db/LightSong, db/simple/Song: use std::chrono::system_clock::time_point

This commit is contained in:
Max Kellermann
2017-01-18 13:19:13 +01:00
parent 902fbb3347
commit b886dfae4d
13 changed files with 51 additions and 30 deletions

View File

@@ -24,8 +24,7 @@
#include "Compiler.h"
#include <string>
#include <time.h>
#include <chrono>
struct Tag;
@@ -62,7 +61,11 @@ struct LightSong {
*/
const Tag *tag;
time_t mtime;
/**
* The time stamp of the last file modification. A negative
* value means that this is unknown/unavailable.
*/
std::chrono::system_clock::time_point mtime;
/**
* Start of this sub-song within the file.