1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-04 23:54:08 +00:00

Make clang-tidy happy (fix performance-inefficient-string-concatenation warning)

This commit is contained in:
Carles Fernandez 2025-05-14 12:42:45 +02:00
parent 8652e65677
commit b3899295e4
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1557,9 +1557,14 @@ int GNSSFlowgraph::assign_channels()
if (channel_count > max_sat_count - 1)
{
help_hint_ += " * The number of " + gnss_system_str + " " + signal_pretty_str + " channels is set to " + channel_count_option + "=" + std::to_string(channel_count);
help_hint_ += " but the maximum number of available " + gnss_system_str + " satellites is " + std::to_string(max_sat_count) + ".\n";
help_hint_ += " Please set " + channel_count_option + "=" + std::to_string(max_sat_count - 1) + " or lower in your configuration file.\n";
help_hint_ += " * The number of " + gnss_system_str;
help_hint_ += " " + signal_pretty_str;
help_hint_ += " channels is set to " + channel_count_option;
help_hint_ += "=" + std::to_string(channel_count);
help_hint_ += " but the maximum number of available " + gnss_system_str;
help_hint_ += " satellites is " + std::to_string(max_sat_count) + ".\n";
help_hint_ += " Please set " + channel_count_option + "=";
help_hint_ += std::to_string(max_sat_count - 1) + " or lower in your configuration file.\n";
top_block_->disconnect_all();
return 1;
}