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/usrp/dboard/db_wbx_common.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/usrp/dboard/db_wbx_common.hpp')
-rw-r--r-- | host/lib/usrp/dboard/db_wbx_common.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/host/lib/usrp/dboard/db_wbx_common.hpp b/host/lib/usrp/dboard/db_wbx_common.hpp index e7beabd8b..63a40c504 100644 --- a/host/lib/usrp/dboard/db_wbx_common.hpp +++ b/host/lib/usrp/dboard/db_wbx_common.hpp @@ -95,7 +95,7 @@ class wbx_base : public xcvr_dboard_base { public: wbx_base(ctor_args_t args); - virtual ~wbx_base(void); + ~wbx_base(void) override; protected: virtual double set_rx_gain(double gain, const std::string& name); @@ -156,11 +156,11 @@ protected: { public: wbx_version2(wbx_base* _self_wbx_base); - virtual ~wbx_version2(void); + ~wbx_version2(void) override; - double set_tx_gain(double gain, const std::string& name); - void set_tx_enabled(bool enb); - double set_lo_freq(dboard_iface::unit_t unit, double target_freq); + double set_tx_gain(double gain, const std::string& name) override; + void set_tx_enabled(bool enb) override; + double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override; }; /*! @@ -172,11 +172,11 @@ protected: { public: wbx_version3(wbx_base* _self_wbx_base); - virtual ~wbx_version3(void); + ~wbx_version3(void) override; - double set_tx_gain(double gain, const std::string& name); - void set_tx_enabled(bool enb); - double set_lo_freq(dboard_iface::unit_t unit, double target_freq); + double set_tx_gain(double gain, const std::string& name) override; + void set_tx_enabled(bool enb) override; + double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override; }; /*! @@ -188,11 +188,11 @@ protected: { public: wbx_version4(wbx_base* _self_wbx_base); - virtual ~wbx_version4(void); + ~wbx_version4(void) override; - double set_tx_gain(double gain, const std::string& name); - void set_tx_enabled(bool enb); - double set_lo_freq(dboard_iface::unit_t unit, double target_freq); + double set_tx_gain(double gain, const std::string& name) override; + void set_tx_enabled(bool enb) override; + double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override; }; /*! |