Commit a280ac0d authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Explicitly refer to `std::chrono::ceil`.

Older compilers may attempt (and fail) to deduct `std::ceil` instead.
parent dd9fdf60
......@@ -135,7 +135,7 @@ private:
auto now = steady_clock::now();
auto buggy_refresh = *earlier_buggy_timeout + timeout_pause;
if (buggy_refresh < now) return seconds(0);
return ceil<seconds>(buggy_refresh - now);
return std::chrono::ceil<seconds>(buggy_refresh - now);
// Wait until a little before mappings would time out to refresh them.
auto round_elapsed = steady_clock::now() - round_begin;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment