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/dboard_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/dboard_manager.cpp') diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp index dc7ca6ac9..4fe3e8a00 100644 --- a/host/lib/usrp/dboard_manager.cpp +++ b/host/lib/usrp/dboard_manager.cpp @@ -198,19 +198,19 @@ public: dboard_iface::sptr iface, property_tree::sptr subtree, bool defer_db_init); - virtual ~dboard_manager_impl(void); + ~dboard_manager_impl(void) override; - inline const std::vector& get_rx_frontends() const + inline const std::vector& get_rx_frontends() const override { return _rx_frontends; } - inline const std::vector& get_tx_frontends() const + inline const std::vector& get_tx_frontends() const override { return _tx_frontends; } - void initialize_dboards(); + void initialize_dboards() override; private: void init(dboard_eeprom_t, dboard_eeprom_t, property_tree::sptr, bool); -- cgit v1.2.3