aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-06-22 12:45:26 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-22 15:07:02 -0500
commit52dbd06387c50d21ddb0c36921b64c7d26f9b886 (patch)
tree3bca48bf208533481053a29e992800e22ee73d4e
parent548bef02cafec8778f64b4c2348dc828f7cca83e (diff)
downloaduhd-52dbd06387c50d21ddb0c36921b64c7d26f9b886.tar.gz
uhd-52dbd06387c50d21ddb0c36921b64c7d26f9b886.tar.bz2
uhd-52dbd06387c50d21ddb0c36921b64c7d26f9b886.zip
debug_dboard: Fix compiler warning
Superfluous 'this' capture.
-rw-r--r--host/lib/include/uhdlib/usrp/dboard/debug_dboard.hpp2
1 files changed, 1 insertions, 1 deletions
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_map_t>("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(); });