diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-11 22:47:05 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-11 23:45:15 +0100 |
commit | 6636c69a11e8b4d8aa079d86ef89fb8dbf96964e (patch) | |
tree | c12f3b7fc987ca4fe165603f7c333d2b09dfa46c /src/SongUpdate.cxx | |
parent | 0ccaf4a1fff8933b28312d40ccf45a2a9fae2018 (diff) |
storage/FileInfo: convert mtime to std::chrono::system_clock::time_point
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 8913fea14..0c976b883 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -88,7 +88,7 @@ Song::UpdateFile(Storage &storage) return false; } - mtime = info.mtime; + mtime = std::chrono::system_clock::to_time_t(info.mtime); tag_builder.Commit(tag); return true; } |