aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/muxed_zero_copy_if.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/muxed_zero_copy_if.cpp')
-rw-r--r--host/lib/transport/muxed_zero_copy_if.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/host/lib/transport/muxed_zero_copy_if.cpp b/host/lib/transport/muxed_zero_copy_if.cpp
index 054d74e0c..2602d8596 100644
--- a/host/lib/transport/muxed_zero_copy_if.cpp
+++ b/host/lib/transport/muxed_zero_copy_if.cpp
@@ -67,12 +67,11 @@ public:
}
// Only allocate a portion of the base transport's frames to each stream
// to prevent all streams from attempting to use all the frames.
- stream_impl::sptr stream =
- std::make_shared<stream_impl>(this->shared_from_this(),
- stream_num,
- _base_xport->get_num_send_frames(),
- _base_xport->get_num_recv_frames());
- _streams[stream_num] = stream;
+ stream_impl::sptr stream = std::make_shared<stream_impl>(this->shared_from_this(),
+ stream_num,
+ _base_xport->get_num_send_frames(),
+ _base_xport->get_num_recv_frames());
+ _streams[stream_num] = stream;
return stream;
}