aboutsummaryrefslogtreecommitdiff
path: root/web
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 /web
parent63723c0313acf3fb1539fb9a301250bbcc263ecc (diff)
Use system_clock instead of timestamp::clock
Diffstat (limited to 'web')
-rw-r--r--web/apache/request.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/apache/request.cxx b/web/apache/request.cxx
index da016b5..78e0fc0 100644
--- a/web/apache/request.cxx
+++ b/web/apache/request.cxx
@@ -521,8 +521,8 @@ namespace web
if (max_age)
{
- timestamp tp (timestamp::clock::now () + *max_age);
- time_t t (timestamp::clock::to_time_t (tp));
+ timestamp tp (system_clock::now () + *max_age);
+ time_t t (system_clock::to_time_t (tp));
// Assume global locale is not changed and still "C".
//