mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Use emplace back when possible
This commit is contained in:
parent
578d96159d
commit
5f5f9027b8
@ -104,7 +104,7 @@ void signal_generator_c::init()
|
||||
{
|
||||
start_phase_rad_.push_back(0);
|
||||
current_data_bit_int_.push_back(1);
|
||||
current_data_bits_.push_back(gr_complex(1, 0));
|
||||
current_data_bits_.emplace_back(1, 0);
|
||||
ms_counter_.push_back(0);
|
||||
data_modulation_.push_back((Galileo_E5a_I_SECONDARY_CODE.at(0) == '0' ? 1 : -1));
|
||||
pilot_modulation_.push_back((Galileo_E5a_Q_SECONDARY_CODE[PRN_[sat]].at(0) == '0' ? 1 : -1));
|
||||
|
Loading…
Reference in New Issue
Block a user