summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 20d80edc0..eb8053feb 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -290,7 +290,7 @@ public:
std::vector<std::string> BadAlternativeSites;
std::vector<std::string> PastRedirections;
std::unordered_map<std::string, std::string> CustomFields;
- time_t FetchAfter = 0;
+ time_point FetchAfter = {};
Private()
{
@@ -1121,11 +1121,11 @@ std::string pkgAcquire::Item::HashSum() const /*{{{*/
return hs != NULL ? hs->toStr() : "";
}
/*}}}*/
-void pkgAcquire::Item::FetchAfter(time_t FetchAfter) /*{{{*/
+void pkgAcquire::Item::FetchAfter(time_point FetchAfter) /*{{{*/
{
d->FetchAfter = FetchAfter;
}
-time_t pkgAcquire::Item::FetchAfter()
+pkgAcquire::time_point pkgAcquire::Item::FetchAfter()
{
return d->FetchAfter;
}