aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_eth_mgr.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-08 09:33:36 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-04 08:07:26 -0600
commit107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 (patch)
treefdeaad56030a02948377c45838dab97beb7a5c84 /host/lib/usrp/x300/x300_eth_mgr.hpp
parent7d5e48032baa62cbe7467833b9e057900602f4b9 (diff)
downloaduhd-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/usrp/x300/x300_eth_mgr.hpp')
-rw-r--r--host/lib/usrp/x300/x300_eth_mgr.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_eth_mgr.hpp b/host/lib/usrp/x300/x300_eth_mgr.hpp
index 19b6064dd..ee1d1d726 100644
--- a/host/lib/usrp/x300/x300_eth_mgr.hpp
+++ b/host/lib/usrp/x300/x300_eth_mgr.hpp
@@ -39,12 +39,12 @@ public:
/*! Return a reference to a ZPU ctrl interface object
*/
- uhd::wb_iface::sptr get_ctrl_iface();
+ uhd::wb_iface::sptr get_ctrl_iface() override;
void init_link(
const mboard_eeprom_t& mb_eeprom, const std::string& loaded_fpga_image);
- size_t get_mtu(uhd::direction_t dir);
+ size_t get_mtu(uhd::direction_t dir) override;
/*! Safely release a ZPU control object
*
@@ -57,7 +57,7 @@ public:
*
* Note: this will only be valid after init_link() is called.
*/
- std::vector<uhd::rfnoc::device_id_t> get_local_device_ids()
+ std::vector<uhd::rfnoc::device_id_t> get_local_device_ids() override
{
return _local_device_ids;
}
@@ -66,7 +66,7 @@ public:
const uhd::rfnoc::device_id_t local_device_id,
const uhd::rfnoc::sep_id_t& local_epid,
const uhd::rfnoc::sep_id_t& remote_epid,
- const uhd::device_addr_t& link_args);
+ const uhd::device_addr_t& link_args) override;
private:
//! Function to create a udp_simple::sptr (kernel-based or DPDK-based)