Commit d3f950d2 authored by Dominik Charousset's avatar Dominik Charousset

Fix parens + type

parent 371e2750
...@@ -1099,7 +1099,7 @@ scheduled_actor::advance_streams(actor_clock::time_point now) { ...@@ -1099,7 +1099,7 @@ scheduled_actor::advance_streams(actor_clock::time_point now) {
// Fill up credit on each input path. // Fill up credit on each input path.
if ((bitmask & 0x02) != 0) { if ((bitmask & 0x02) != 0) {
auto cycle = stream_ticks_.interval(); auto cycle = stream_ticks_.interval();
cycle *= static_cast<decltype(cycle)>credit_round_ticks_; cycle *= static_cast<decltype(cycle)::rep>(credit_round_ticks_);
auto bc_us = home_system().config().streaming_desired_batch_complexity_us; auto bc_us = home_system().config().streaming_desired_batch_complexity_us;
auto bc = std::chrono::microseconds(bc_us); auto bc = std::chrono::microseconds(bc_us);
auto& qs = get<2>(mailbox_.queue().queues()).queues(); auto& qs = get<2>(mailbox_.queue().queues()).queues();
......
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