aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/common/mock_link.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/tests/common/mock_link.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/tests/common/mock_link.hpp')
-rw-r--r--host/tests/common/mock_link.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/common/mock_link.hpp b/host/tests/common/mock_link.hpp
index a62aa49c7..b2c5be974 100644
--- a/host/tests/common/mock_link.hpp
+++ b/host/tests/common/mock_link.hpp
@@ -128,7 +128,7 @@ public:
_simulate_io_timeout = simulate_io_timeout;
}
- adapter_id_t get_send_adapter_id() const
+ adapter_id_t get_send_adapter_id() const override
{
return NULL_ADAPTER_ID;
}
@@ -228,7 +228,7 @@ public:
_rx_lens.push_back(len);
}
- adapter_id_t get_recv_adapter_id() const
+ adapter_id_t get_recv_adapter_id() const override
{
return NULL_ADAPTER_ID;
}