1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-05 10:17:03 +00:00

Initialize members to a valid state

This commit is contained in:
Carles Fernandez 2020-06-10 11:54:23 +02:00
parent 34a250246a
commit 85286f8a7e
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -52,23 +52,23 @@ public:
std::vector<int> doppler;
std::vector<unsigned int> samples;
std::vector<std::vector<float> > mag;
float acq_doppler_hz;
float acq_delay_samples;
float test_statistic;
float input_power;
float threshold;
int positive_acq;
unsigned int PRN;
unsigned int num_dwells;
uint64_t sample_counter;
float acq_doppler_hz{};
float acq_delay_samples{};
float test_statistic{};
float input_power{};
float threshold{};
int positive_acq{};
unsigned int PRN{};
unsigned int num_dwells{};
uint64_t sample_counter{};
private:
std::string d_basename;
unsigned int d_sat;
unsigned int d_doppler_max;
unsigned int d_doppler_step;
unsigned int d_samples_per_code;
unsigned int d_num_doppler_bins;
unsigned int d_sat{};
unsigned int d_doppler_max{};
unsigned int d_doppler_step{};
unsigned int d_samples_per_code{};
unsigned int d_num_doppler_bins{};
std::string d_dump_filename;
};