File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ template <bool Invert> struct Process {
275
275
}
276
276
};
277
277
278
- // / Invokes a function accross every active buffer across the total lane size.
278
+ // / Invokes a function across every active buffer across the total lane size.
279
279
template <typename F>
280
280
RPC_ATTRS static void invoke_rpc (F &&fn, uint32_t lane_size, uint64_t lane_mask,
281
281
Buffer *slot) {
@@ -375,8 +375,8 @@ struct Server {
375
375
uint32_t start = 0 );
376
376
RPC_ATTRS Port open (uint32_t lane_size);
377
377
378
- RPC_ATTRS static uint64_t allocation_size (uint32_t lane_size,
379
- uint32_t port_count) {
378
+ RPC_ATTRS static constexpr uint64_t allocation_size (uint32_t lane_size,
379
+ uint32_t port_count) {
380
380
return Process<true >::allocation_size (port_count, lane_size);
381
381
}
382
382
You can’t perform that action at this time.
0 commit comments