Fix a couple of merging mishaps

This commit is contained in:
Bill Somerville
2019-11-25 15:04:51 +00:00
parent fb1b2e7687
commit 00f39e3ea0
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1025,7 +1025,7 @@ QString HRDTransceiver::send_command (QString const& cmd, bool no_debug, bool pr
{
auto radio_name = send_command ("get radio", true, current_radio_, true);
qDebug () << "HRDTransceiver::send_command: radio_name:" << radio_name;
auto radio_iter = std::find_if (radios_.begin (), radios_.end (), [this, &radio_name] (RadioMap::value_type const& radio)
auto radio_iter = std::find_if (radios_.begin (), radios_.end (), [&radio_name] (RadioMap::value_type const& radio)
{
return std::get<1> (radio) == radio_name;
});