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/include/uhdlib/transport/nirio_link.hpp | |
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/include/uhdlib/transport/nirio_link.hpp')
-rw-r--r-- | host/lib/include/uhdlib/transport/nirio_link.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/include/uhdlib/transport/nirio_link.hpp b/host/lib/include/uhdlib/transport/nirio_link.hpp index 84d55113d..33e22cf1a 100644 --- a/host/lib/include/uhdlib/transport/nirio_link.hpp +++ b/host/lib/include/uhdlib/transport/nirio_link.hpp @@ -48,7 +48,7 @@ public: ~nirio_adapter_info() {} - std::string to_string() + std::string to_string() override { return std::string("NIRIO:") + _resource; } @@ -92,7 +92,7 @@ public: /*! * Get the physical adapter ID used for this link */ - adapter_id_t get_send_adapter_id() const + adapter_id_t get_send_adapter_id() const override { return _adapter_id; } @@ -100,7 +100,7 @@ public: /*! * Get the physical adapter ID used for this link */ - adapter_id_t get_recv_adapter_id() const + adapter_id_t get_recv_adapter_id() const override { return _adapter_id; } @@ -109,7 +109,7 @@ public: * Returns whether this link type supports releasing the frame buffers * in an order different from that in which they were acquired. */ - bool supports_send_buff_out_of_order() const + bool supports_send_buff_out_of_order() const override { return false; } @@ -118,7 +118,7 @@ public: * Returns whether this link type supports releasing the frame buffers * in an order different from that in which they were acquired. */ - bool supports_recv_buff_out_of_order() const + bool supports_recv_buff_out_of_order() const override { return false; } |