aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_sbx_common.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/dboard/db_sbx_common.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/dboard/db_sbx_common.hpp')
-rw-r--r--host/lib/usrp/dboard/db_sbx_common.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp
index c11f0bbe2..235d45fd2 100644
--- a/host/lib/usrp/dboard/db_sbx_common.hpp
+++ b/host/lib/usrp/dboard/db_sbx_common.hpp
@@ -124,7 +124,7 @@ class sbx_xcvr : public xcvr_dboard_base
{
public:
sbx_xcvr(ctor_args_t args);
- virtual ~sbx_xcvr(void);
+ ~sbx_xcvr(void) override;
protected:
uhd::dict<std::string, double> _tx_gains, _rx_gains;
@@ -182,9 +182,9 @@ protected:
{
public:
sbx_version3(sbx_xcvr* _self_sbx_xcvr);
- virtual ~sbx_version3(void);
+ ~sbx_version3(void) override;
- double set_lo_freq(dboard_iface::unit_t unit, double target_freq);
+ double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override;
/*! This is the registered instance of the wrapper class, sbx_base. */
sbx_xcvr* self_base;
@@ -204,9 +204,9 @@ protected:
{
public:
sbx_version4(sbx_xcvr* _self_sbx_xcvr);
- virtual ~sbx_version4(void);
+ ~sbx_version4(void) override;
- double set_lo_freq(dboard_iface::unit_t unit, double target_freq);
+ double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override;
/*! This is the registered instance of the wrapper class, sbx_base. */
sbx_xcvr* self_base;
@@ -231,9 +231,9 @@ protected:
{
public:
cbx(sbx_xcvr* _self_sbx_xcvr);
- virtual ~cbx(void);
+ ~cbx(void) override;
- double set_lo_freq(dboard_iface::unit_t unit, double target_freq);
+ double set_lo_freq(dboard_iface::unit_t unit, double target_freq) override;
/*! This is the registered instance of the wrapper class, sbx_base. */
sbx_xcvr* self_base;