DetachedSong, db/LightSong, db/simple/Song: use std::chrono::system_clock::time_point
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user