diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-10 23:44:51 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-10 23:48:21 +0100 |
commit | 329c3ab21b7bc6ac735f5452b5ee2170499f69c1 (patch) | |
tree | f3adbca6fd2d4ae33625297604619506a2bda95c /src/SongUpdate.cxx | |
parent | 3b7f6641d2d4abb53496805477a9e11d3dd98fbd (diff) |
fs/FileInfo: use std::chrono::system_clock
Diffstat (limited to 'src/SongUpdate.cxx')
-rw-r--r-- | src/SongUpdate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index 1075c09df..8913fea14 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -151,7 +151,7 @@ DetachedSong::LoadFile(Path path) if (!tag_file_scan(path, tag_builder)) return false; - mtime = fi.GetModificationTime(); + mtime = std::chrono::system_clock::to_time_t(fi.GetModificationTime()); tag_builder.Commit(tag); return true; } |