mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 03:14:56 +00:00
Fix clang-tidy warning. Was: performance-inefficient-string-concatenation
This commit is contained in:
parent
48b62e9585
commit
a7210933b4
@ -79,11 +79,11 @@ std::vector<int> Galileo_HAS_data::get_PRNs_in_submask(uint8_t nsys) const
|
||||
{
|
||||
if ((aux & sat_submask) >= 1)
|
||||
{
|
||||
sat_submask_str = "1" + sat_submask_str;
|
||||
sat_submask_str.insert(0, "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
sat_submask_str = "0" + sat_submask_str;
|
||||
sat_submask_str.insert(0, "0");
|
||||
}
|
||||
aux <<= 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user