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/usrp/b200/b200_iface.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/b200/b200_iface.hpp') diff --git a/host/lib/usrp/b200/b200_iface.hpp b/host/lib/usrp/b200/b200_iface.hpp index 7d7e169d4..5450fb7b6 100644 --- a/host/lib/usrp/b200/b200_iface.hpp +++ b/host/lib/usrp/b200/b200_iface.hpp @@ -94,11 +94,11 @@ public: //! load a bootloader image onto device EEPROM virtual uint32_t load_bootloader(const std::string filestring) = 0; - virtual void write_eeprom( - uint16_t addr, uint16_t offset, const uhd::byte_vector_t& bytes) = 0; + void write_eeprom( + uint16_t addr, uint16_t offset, const uhd::byte_vector_t& bytes) override = 0; - virtual uhd::byte_vector_t read_eeprom( - uint16_t addr, uint16_t offset, size_t num_bytes) = 0; + uhd::byte_vector_t read_eeprom( + uint16_t addr, uint16_t offset, size_t num_bytes) override = 0; static std::string fx3_state_string(uint8_t state); }; -- cgit v1.2.3