1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-27 21:47:39 +00:00

Add some basic configuration checks

Avoid some segmentation faults caused by ill-formatted configuration files
This commit is contained in:
Carles Fernandez
2021-01-25 00:49:36 +01:00
parent a21c60ecb2
commit cd1c9e46ba
6 changed files with 132 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ public:
double property(std::string property_name, double default_value) const override;
void set_property(std::string property_name, std::string value) override;
bool is_present(const std::string& property_name) const;
bool has_section() const;
private:
void init();