diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 09:33:36 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:07:26 -0600 |
commit | 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 (patch) | |
tree | fdeaad56030a02948377c45838dab97beb7a5c84 /host/lib/transport/inline_io_service.cpp | |
parent | 7d5e48032baa62cbe7467833b9e057900602f4b9 (diff) | |
download | uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.gz uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.bz2 uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.zip |
host: Update code base using clang-tidy
The checks from the new clang-tidy file are applied to the source tree
using:
$ find . -name "*.cpp" | sort -u | xargs \
--max-procs 8 --max-args 1 clang-tidy --format-style=file \
--fix -p /path/to/compile_commands.json
Diffstat (limited to 'host/lib/transport/inline_io_service.cpp')
-rw-r--r-- | host/lib/transport/inline_io_service.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/transport/inline_io_service.cpp b/host/lib/transport/inline_io_service.cpp index 8206c145f..11835b285 100644 --- a/host/lib/transport/inline_io_service.cpp +++ b/host/lib/transport/inline_io_service.cpp @@ -215,7 +215,7 @@ public: } } - frame_buff::uptr get_recv_buff(int32_t timeout_ms) + frame_buff::uptr get_recv_buff(int32_t timeout_ms) override { auto buff = _io_srv->recv(this, _data_link.get(), timeout_ms); if (buff) { @@ -225,7 +225,7 @@ public: return buff; } - void release_recv_buff(frame_buff::uptr buff) + void release_recv_buff(frame_buff::uptr buff) override { _fc_cb(frame_buff::uptr(std::move(buff)), _data_link.get(), _fc_link.get()); _num_frames_in_use--; @@ -271,7 +271,7 @@ public: } } - bool wait_for_dest_ready(size_t num_bytes, int32_t timeout_ms) + bool wait_for_dest_ready(size_t num_bytes, int32_t timeout_ms) override { if (!_recv_link) { // If there is no flow control link, then the destination must @@ -290,7 +290,7 @@ public: return true; } - frame_buff::uptr get_send_buff(int32_t timeout_ms) + frame_buff::uptr get_send_buff(int32_t timeout_ms) override { frame_buff::uptr buff = _send_link->get_send_buff(timeout_ms); if (buff) { @@ -301,7 +301,7 @@ public: return frame_buff::uptr(); } - void release_send_buff(frame_buff::uptr buff) + void release_send_buff(frame_buff::uptr buff) override { // Send the packet using callback _send_cb(std::move(buff), _send_link.get()); |