aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-task.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-08-29 00:00:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-08-29 00:00:39 +0300
commit4ba97b671533399e960f9230013f4678cc45b1d2 (patch)
treeaf3c4416157d9fdcb3025d0c10ff56bb4fb129f1 /mod/mod-build-task.cxx
parent63723c0313acf3fb1539fb9a301250bbcc263ecc (diff)
Use system_clock instead of timestamp::clock
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r--mod/mod-build-task.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 771b1ee..55cfd5b 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -213,7 +213,7 @@ handle (request& rq, response& rs)
// Calculate the build (building state) or rebuild (built state) expiration
// time for package configurations
//
- timestamp now (timestamp::clock::now ());
+ timestamp now (system_clock::now ());
auto expiration = [&now] (size_t timeout) -> timestamp
{
@@ -511,7 +511,7 @@ handle (request& rq, response& rs)
b->machine = mh.name;
b->machine_summary = move (mh.summary);
b->target = cm.config->target;
- b->timestamp = timestamp::clock::now ();
+ b->timestamp = system_clock::now ();
build_db_->update (b);
}
@@ -627,7 +627,7 @@ handle (request& rq, response& rs)
b->results_section.load ();
b->results.clear ();
- b->timestamp = timestamp::clock::now ();
+ b->timestamp = system_clock::now ();
build_db_->update (b);