From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: uhd: Apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. --- host/lib/transport/zero_copy_flow_ctrl.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'host/lib/transport/zero_copy_flow_ctrl.cpp') diff --git a/host/lib/transport/zero_copy_flow_ctrl.cpp b/host/lib/transport/zero_copy_flow_ctrl.cpp index 610d93281..05907c209 100644 --- a/host/lib/transport/zero_copy_flow_ctrl.cpp +++ b/host/lib/transport/zero_copy_flow_ctrl.cpp @@ -10,11 +10,11 @@ #include #include #include -#include #include -#include #include #include +#include +#include using namespace uhd; using namespace uhd::transport; @@ -113,12 +113,10 @@ public: UHD_LOG_TRACE("TRANSPORT", "Created zero_copy_flow_ctrl"); for (size_t i = 0; i < transport->get_num_send_frames(); i++) { - _send_buffers[i] = - std::make_shared(_send_flow_ctrl); + _send_buffers[i] = std::make_shared(_send_flow_ctrl); } for (size_t i = 0; i < transport->get_num_recv_frames(); i++) { - _recv_buffers[i] = - std::make_shared(_recv_flow_ctrl); + _recv_buffers[i] = std::make_shared(_recv_flow_ctrl); } } -- cgit v1.2.3