mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-24 11:04:53 +00:00
Remove uses of bitwise operations on signed integer types
Based in the High Integrity C++ Standard, Section 5.6.1 See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-expressions Removed some c arrays by std::array
This commit is contained in:
@@ -234,7 +234,7 @@ void GalileoE5aPcpsAcquisition::init()
|
||||
void GalileoE5aPcpsAcquisition::set_local_code()
|
||||
{
|
||||
std::unique_ptr<std::complex<float>> code{new std::complex<float>[code_length_]};
|
||||
std::array<char, 3> signal_;
|
||||
std::array<char, 3> signal_{};
|
||||
signal_[0] = '5';
|
||||
signal_[2] = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user