summaryrefslogtreecommitdiff
path: root/src/db/Interface.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/Interface.hxx')
-rw-r--r--src/db/Interface.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db/Interface.hxx b/src/db/Interface.hxx
index bfdf1590a..a10b1ffbb 100644
--- a/src/db/Interface.hxx
+++ b/src/db/Interface.hxx
@@ -24,7 +24,7 @@
#include "tag/Type.h"
#include "Compiler.h"
-#include <time.h>
+#include <chrono>
struct DatabasePlugin;
struct DatabaseStats;
@@ -129,10 +129,10 @@ public:
/**
* Returns the time stamp of the last database update.
- * Returns 0 if that is not not known/available.
+ * Returns a negative value if that is not not known/available.
*/
gcc_pure
- virtual time_t GetUpdateStamp() const = 0;
+ virtual std::chrono::system_clock::time_point GetUpdateStamp() const = 0;
};
#endif