mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
Make clang-tidy 13 happy (was: modernize-return-braced-init-list check)
This commit is contained in:
parent
056a44a243
commit
9e386b8857
@ -183,7 +183,7 @@ void RtlTcpSignalSource::disconnect(gr::top_block_sptr top_block)
|
|||||||
gr::basic_block_sptr RtlTcpSignalSource::get_left_block()
|
gr::basic_block_sptr RtlTcpSignalSource::get_left_block()
|
||||||
{
|
{
|
||||||
LOG(WARNING) << "Trying to get signal source left block.";
|
LOG(WARNING) << "Trying to get signal source left block.";
|
||||||
return gr::basic_block_sptr();
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ std::string labsat23_source::generate_filename()
|
|||||||
{
|
{
|
||||||
return d_signal_file_basename;
|
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")
|
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")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user