1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-22 21:13:15 +00:00

Make clang-tidy 13 happy (was: modernize-return-braced-init-list check)

This commit is contained in:
Carles Fernandez 2021-10-08 14:50:05 +02:00
parent 056a44a243
commit 9e386b8857
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ void RtlTcpSignalSource::disconnect(gr::top_block_sptr top_block)
gr::basic_block_sptr RtlTcpSignalSource::get_left_block()
{
LOG(WARNING) << "Trying to get signal source left block.";
return gr::basic_block_sptr();
return {};
}

View File

@ -115,7 +115,7 @@ std::string labsat23_source::generate_filename()
{
return d_signal_file_basename;
}
return std::string("donotexist"); // just to stop processing
return {"donotexist"}; // just to stop processing
}
if (d_signal_file_basename.substr(d_signal_file_basename.length() - 5, 5) == ".ls3w" or d_signal_file_basename.substr(d_signal_file_basename.length() - 5, 5) == ".LS3W")
{