From 52dbd06387c50d21ddb0c36921b64c7d26f9b886 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 22 Jun 2021 12:45:26 +0200 Subject: debug_dboard: Fix compiler warning Superfluous 'this' capture. --- host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/include/uhdlib') diff --git a/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp b/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp index 72ac16e28..44aa8a478 100644 --- a/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp +++ b/host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp @@ -521,7 +521,7 @@ private: // DB EEPROM subtree->create("eeprom") - .add_coerced_subscriber([this](const eeprom_map_t&) { + .add_coerced_subscriber([](const eeprom_map_t&) { throw uhd::runtime_error("Attempting to update daughterboard eeprom!"); }) .set_publisher([this]() { return get_db_eeprom(); }); -- cgit v1.2.3