aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/ssse3_unpack_sc12.cpp
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/convert/ssse3_unpack_sc12.cpp
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/convert/ssse3_unpack_sc12.cpp')
-rw-r--r--host/lib/convert/ssse3_unpack_sc12.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/convert/ssse3_unpack_sc12.cpp b/host/lib/convert/ssse3_unpack_sc12.cpp
index 5494e0fd7..351e1d821 100644
--- a/host/lib/convert/ssse3_unpack_sc12.cpp
+++ b/host/lib/convert/ssse3_unpack_sc12.cpp
@@ -127,14 +127,15 @@ struct convert_sc12_item32_1_to_star_2 : public converter
// NOP
}
- void set_scalar(const double scalar)
+ void set_scalar(const double scalar) override
{
const int unpack_growth = 16;
_scalar = scalar / unpack_growth;
}
- void operator()(
- const input_type& inputs, const output_type& outputs, const size_t nsamps)
+ void operator()(const input_type& inputs,
+ const output_type& outputs,
+ const size_t nsamps) override
{
const size_t head_samps = size_t(inputs[0]) & 0x3;
size_t rewind = 0;