From 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 09:33:36 +0100 Subject: 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 --- host/lib/rfnoc/switchboard_block_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/rfnoc/switchboard_block_control.cpp') diff --git a/host/lib/rfnoc/switchboard_block_control.cpp b/host/lib/rfnoc/switchboard_block_control.cpp index 229c224e9..eec7f666f 100644 --- a/host/lib/rfnoc/switchboard_block_control.cpp +++ b/host/lib/rfnoc/switchboard_block_control.cpp @@ -40,7 +40,7 @@ public: _update_forwarding_map(); } - void connect(const size_t input, const size_t output) + void connect(const size_t input, const size_t output) override { set_property(PROP_KEY_INPUT_SELECT, static_cast(input), output); set_property(PROP_KEY_OUTPUT_SELECT, static_cast(output), input); -- cgit v1.2.3