diff options
author | Max Kellermann <max@musicpd.org> | 2017-01-18 13:03:05 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-08-18 12:30:50 +0200 |
commit | b2b079a26b1e39c24a38063bcd2bce2ae290c63a (patch) | |
tree | df7df5accbb645ea100f14baae588365599323b3 /src/SongFilter.hxx | |
parent | b886dfae4d4a4d5ca49fd1323e18bae0e78dfab1 (diff) |
SongFilter: use std::chrono::system_clock::time_point instead of time_t
Diffstat (limited to 'src/SongFilter.hxx')
-rw-r--r-- | src/SongFilter.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index a0bb25d41..db92f2338 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -24,9 +24,9 @@ #include "Compiler.h" #include <list> +#include <chrono> #include <stdint.h> -#include <time.h> /** * Limit the search to files within the given directory. @@ -55,12 +55,12 @@ public: /** * For #LOCATE_TAG_MODIFIED_SINCE */ - time_t time; + std::chrono::system_clock::time_point time; public: gcc_nonnull(3) Item(unsigned tag, const char *value, bool fold_case=false); - Item(unsigned tag, time_t time); + Item(unsigned tag, std::chrono::system_clock::time_point time); Item(const Item &other) = delete; Item(Item &&) = default; |