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/tests/expert_test.cpp | |
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/tests/expert_test.cpp')
-rw-r--r-- | host/tests/expert_test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/host/tests/expert_test.cpp b/host/tests/expert_test.cpp index 34be807ab..a23c9cbb8 100644 --- a/host/tests/expert_test.cpp +++ b/host/tests/expert_test.cpp @@ -27,7 +27,7 @@ public: } private: - void resolve() + void resolve() override { _c = _a + _b; } @@ -51,7 +51,7 @@ public: } private: - void resolve() + void resolve() override { _e.set(_c.get() * _d.get()); } @@ -74,7 +74,7 @@ public: } private: - void resolve() + void resolve() override { _f.set(-_b.get()); } @@ -97,7 +97,7 @@ public: } private: - void resolve() + void resolve() override { _g.set(_e.get() - _f.get()); } @@ -120,7 +120,7 @@ public: } private: - void resolve() + void resolve() override { *_output = _g; } @@ -137,7 +137,7 @@ public: worker6_t() : worker_node_t("null_worker") {} private: - void resolve() {} + void resolve() override {} }; //============================================================================= |